Page MenuHomeFreeBSD

D39894.id.diff
No OneTemporary

D39894.id.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
@@ -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

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)

Event Timeline