Skip to contentSkip to conversation

include: Remove sideleg and sedeleg

PATCH New Rahul Pathak 2 participants 2 messages Aug 24, 2022 – Sep 1, 2022 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include: Remove sideleg and sedeleg

sideleg and sedeleg csrs are not part of riscv isa spec anymore, these csrs were part of N extension which is removed from the riscv isa specification.

These commits removed all traces of these csrs from riscv spec (https://github.com/riscv/riscv-isa-manual) -

commit f8d27f805b65 ("Remove or downgrade more references to N extension (#674)") commit b6cade07034d ("Remove N extension chapter for now")

---
 include/sbi/riscv_encoding.h | 2 --
 1 file changed, 2 deletions(-)
include/sbi/riscv_encoding.h +0 -2
index 8884301..b0f08c8 100644
@@ -312,8 +312,6 @@
 
 /* Supervisor Trap Setup */
 #define CSR_SSTATUS			0x100
-#define CSR_SEDELEG			0x102
-#define CSR_SIDELEG			0x103
 #define CSR_SIE				0x104
 #define CSR_STVEC			0x105
 #define CSR_SCOUNTEREN			0x106
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/1 include: Remove sideleg and sedeleg

Quoted 5 lines · Rahul Pathak

sideleg and sedeleg csrs are not part of riscv isa spec anymore, these csrs were part of N extension which is removed from the riscv isa specification.

Quoted 8 lines

These commits removed all traces of these csrs from riscv spec (https://github.com/riscv/riscv-isa-manual) -

commit f8d27f805b65 ("Remove or downgrade more references to N extension (#674)") commit b6cade07034d ("Remove N extension chapter for now")

Looks good to me.

Thanks,
Anup

Quoted 20 lines
---
 include/sbi/riscv_encoding.h | 2 --
 1 file changed, 2 deletions(-)
include/sbi/riscv_encoding.h +0 -3
index 8884301..b0f08c8 100644
@@ -312,8 +312,6 @@
 
 /* Supervisor Trap Setup */
 #define CSR_SSTATUS                    0x100
-#define CSR_SEDELEG                    0x102
-#define CSR_SIDELEG                    0x103
 #define CSR_SIE                                0x104
 #define CSR_STVEC                      0x105
 #define CSR_SCOUNTEREN                 0x106
--

2.34.1