Page MenuHomeFreeBSD

D34214.diff
No OneTemporary

D34214.diff

diff --git a/sys/riscv/riscv/exec_machdep.c b/sys/riscv/riscv/exec_machdep.c
--- a/sys/riscv/riscv/exec_machdep.c
+++ b/sys/riscv/riscv/exec_machdep.c
@@ -77,6 +77,10 @@
static void get_fpcontext(struct thread *td, mcontext_t *mcp);
static void set_fpcontext(struct thread *td, mcontext_t *mcp);
+_Static_assert(sizeof(mcontext_t) == 864, "mcontext_t size incorrect");
+_Static_assert(sizeof(ucontext_t) == 936, "ucontext_t size incorrect");
+_Static_assert(sizeof(siginfo_t) == 80, "siginfo_t size incorrect");
+
int
fill_regs(struct thread *td, struct reg *regs)
{

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 6, 8:41 AM (9 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36105098
Default Alt Text
D34214.diff (575 B)

Event Timeline