diff options
Diffstat (limited to 'arch/riscv64/include')
| -rw-r--r-- | arch/riscv64/include/csr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv64/include/csr.h b/arch/riscv64/include/csr.h index 39e8dc9..ae0763b 100644 --- a/arch/riscv64/include/csr.h +++ b/arch/riscv64/include/csr.h @@ -5,6 +5,10 @@ #define SATP_MODE_Sv39 0x8000000000000000 #define SATP_MODE_Sv48 0x9000000000000000 +/* unprivileged CSR registers */ +#define CSR_TIME 0xc01 +#define CSR_TIMEH 0xc81 + /* supervisor CSR registers */ #define CSR_SSTATUS 0x100 #define CSR_SIE 0x104 |
