Page MenuHomeFreeBSD

D26328.id.diff
No OneTemporary

D26328.id.diff

Index: head/sys/riscv/riscv/genassym.c
===================================================================
--- head/sys/riscv/riscv/genassym.c
+++ head/sys/riscv/riscv/genassym.c
@@ -87,7 +87,7 @@
ASSYM(TD_MD, offsetof(struct thread, td_md));
ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
-ASSYM(TF_SIZE, sizeof(struct trapframe));
+ASSYM(TF_SIZE, roundup2(sizeof(struct trapframe), STACKALIGNBYTES + 1));
ASSYM(TF_RA, offsetof(struct trapframe, tf_ra));
ASSYM(TF_SP, offsetof(struct trapframe, tf_sp));
ASSYM(TF_GP, offsetof(struct trapframe, tf_gp));

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 1, 1:37 PM (18 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16895968
Default Alt Text
D26328.id.diff (564 B)

Event Timeline