Skip to content

Commit bf952a2

Browse files
atishp04palmer-dabbelt
authored andcommitted
RISC-V: Add SSTC extension CSR details
This patch just introduces the required CSR fields related to the SSTC extension. Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Atish Patra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent f2906aa commit bf952a2

File tree

1 file changed

+5
-0
lines changed
  • arch/riscv/include/asm

1 file changed

+5
-0
lines changed

arch/riscv/include/asm/csr.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@
235235
#define CSR_SIP 0x144
236236
#define CSR_SATP 0x180
237237

238+
#define CSR_STIMECMP 0x14D
239+
#define CSR_STIMECMPH 0x15D
240+
238241
#define CSR_VSSTATUS 0x200
239242
#define CSR_VSIE 0x204
240243
#define CSR_VSTVEC 0x205
@@ -244,6 +247,8 @@
244247
#define CSR_VSTVAL 0x243
245248
#define CSR_VSIP 0x244
246249
#define CSR_VSATP 0x280
250+
#define CSR_VSTIMECMP 0x24D
251+
#define CSR_VSTIMECMPH 0x25D
247252

248253
#define CSR_HSTATUS 0x600
249254
#define CSR_HEDELEG 0x602

0 commit comments

Comments
 (0)