diff options
| author | Warner Losh <imp@FreeBSD.org> | 2022-02-10 21:27:15 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2022-02-10 21:32:21 +0000 |
| commit | 0987dc5be54b54c7e7678325586793b98838d61d (patch) | |
| tree | 32b1c198cd0b9c807689f364c8ffdf3caeabf76a /sys/riscv | |
| parent | 6e48e160ae935a3fde656c975c3f38aaae54707c (diff) | |
Diffstat (limited to 'sys/riscv')
| -rw-r--r-- | sys/riscv/riscv/exec_machdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/riscv/riscv/exec_machdep.c b/sys/riscv/riscv/exec_machdep.c index 08fba5c83e51..2d30ba9cb01c 100644 --- a/sys/riscv/riscv/exec_machdep.c +++ b/sys/riscv/riscv/exec_machdep.c @@ -77,6 +77,10 @@ __FBSDID("$FreeBSD$"); 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) { |
