Page MenuHomeFreeBSD

D41699.diff
No OneTemporary

D41699.diff

diff --git a/sys/riscv/riscv/exception.S b/sys/riscv/riscv/exception.S
--- a/sys/riscv/riscv/exception.S
+++ b/sys/riscv/riscv/exception.S
@@ -43,9 +43,9 @@
sd ra, (TF_RA)(sp)
sd tp, (TF_TP)(sp)
+ sd gp, (TF_GP)(sp)
.if \mode == 0 /* We came from userspace. */
- sd gp, (TF_GP)(sp)
.option push
.option norelax
/* Load the kernel's global pointer */

File Metadata

Mime Type
text/plain
Expires
Thu, May 1, 8:12 AM (3 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17877287
Default Alt Text
D41699.diff (364 B)

Event Timeline