Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115912729
D41699.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
364 B
Referenced Files
None
Subscribers
None
D41699.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D41699: riscv: Save gp in the trapframe in both modes
Attached
Detach File
Event Timeline
Log In to Comment