Page MenuHomeFreeBSD

D23394.diff
No OneTemporary

D23394.diff

Index: head/sys/riscv/riscv/exception.S
===================================================================
--- head/sys/riscv/riscv/exception.S
+++ head/sys/riscv/riscv/exception.S
@@ -208,7 +208,6 @@
csrrw sp, sscratch, sp
beqz sp, 1f
/* User mode detected */
- csrrw sp, sscratch, sp
j cpu_exception_handler_user
1:
/* Supervisor mode detected */
@@ -225,7 +224,6 @@
END(cpu_exception_handler_supervisor)
ENTRY(cpu_exception_handler_user)
- csrrw sp, sscratch, sp
save_registers 0
mv a0, sp
call _C_LABEL(do_trap_user)

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 27, 2:50 PM (10 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37331001
Default Alt Text
D23394.diff (543 B)

Event Timeline