Skip to content

Commit

Permalink
RISC-V: Add SSTC extension CSR details
Browse files Browse the repository at this point in the history
This patch just introduces the required CSR fields related to the
SSTC extension.

Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20220722165047.519994-2-atishp@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
  • Loading branch information
Atish Patra authored and Palmer Dabbelt committed Aug 11, 2022
1 parent f2906aa commit bf952a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/riscv/include/asm/csr.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@
#define CSR_SIP 0x144
#define CSR_SATP 0x180

#define CSR_STIMECMP 0x14D
#define CSR_STIMECMPH 0x15D

#define CSR_VSSTATUS 0x200
#define CSR_VSIE 0x204
#define CSR_VSTVEC 0x205
Expand All @@ -244,6 +247,8 @@
#define CSR_VSTVAL 0x243
#define CSR_VSIP 0x244
#define CSR_VSATP 0x280
#define CSR_VSTIMECMP 0x24D
#define CSR_VSTIMECMPH 0x25D

#define CSR_HSTATUS 0x600
#define CSR_HEDELEG 0x602
Expand Down

0 comments on commit bf952a2

Please sign in to comment.