diff options
Diffstat (limited to 'kernel/riscv.h')
-rw-r--r-- | kernel/riscv.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/riscv.h b/kernel/riscv.h index 7e358f1..645a775 100644 --- a/kernel/riscv.h +++ b/kernel/riscv.h @@ -217,13 +217,6 @@ r_satp() return x; } -// Supervisor Scratch register, for early trap handler in trampoline.S. -static inline void -w_sscratch(uint64 x) -{ - asm volatile("csrw sscratch, %0" : : "r" (x)); -} - static inline void w_mscratch(uint64 x) { |