Page MenuHomeFreeBSD

D34214.id102523.diff
No OneTemporary

D34214.id102523.diff

Index: sys/riscv/riscv/exec_machdep.c
===================================================================
--- sys/riscv/riscv/exec_machdep.c
+++ sys/riscv/riscv/exec_machdep.c
@@ -77,6 +77,9 @@
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 bogusly changed size");
+_Static_assert(sizeof(ucontext_t) == 936, "mcontext_t bogusly changed size");
+
int
fill_regs(struct thread *td, struct reg *regs)
{

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 7, 2:36 PM (10 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36174610
Default Alt Text
D34214.id102523.diff (540 B)

Event Timeline