Page MenuHomeFreeBSD

D23394.id67394.diff
No OneTemporary

D23394.id67394.diff

Index: sys/riscv/riscv/exception.S
===================================================================
--- sys/riscv/riscv/exception.S
+++ 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
Wed, Jan 22, 4:13 PM (11 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16031876
Default Alt Text
D23394.id67394.diff (528 B)

Event Timeline