Page MenuHomeFreeBSD

D26328.id76675.diff
No OneTemporary

D26328.id76675.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
Sun, Sep 13, 9:19 PM (2 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38870243
Default Alt Text
D26328.id76675.diff (564 B)

Event Timeline