Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102780794
D39894.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
463 B
Referenced Files
None
Subscribers
None
D39894.id.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
@@ -44,6 +44,7 @@
addi sp, sp, -(TF_SIZE)
sd ra, (TF_RA)(sp)
+ sd tp, (TF_TP)(sp)
.if \mode == 0 /* We came from userspace. */
sd gp, (TF_GP)(sp)
@@ -54,10 +55,7 @@
.option pop
/* Load our pcpu */
- sd tp, (TF_TP)(sp)
ld tp, (TF_SIZE)(sp)
-.else
- sd tp, (TF_TP)(sp)
.endif
sd t0, (TF_T + 0 * 8)(sp)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 2:30 AM (12 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14688682
Default Alt Text
D39894.id.diff (463 B)
Attached To
Mode
D39894: riscv: do not duplicate sd of tp
Attached
Detach File
Event Timeline
Log In to Comment