Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165125864
D34214.id102537.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
617 B
Referenced Files
None
Subscribers
None
D34214.id102537.diff
View Options
Index: sys/riscv/riscv/exec_machdep.c
===================================================================
--- sys/riscv/riscv/exec_machdep.c
+++ 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 bogusly changed size");
+_Static_assert(sizeof(ucontext_t) == 936, "mcontext_t bogusly changed size");
+_Static_assert(sizeof(siginfo_t) == 80, "siginfo_t bogusly changed size");
+
int
fill_regs(struct thread *td, struct reg *regs)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 7, 6:48 AM (3 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36150758
Default Alt Text
D34214.id102537.diff (617 B)
Attached To
Mode
D34214: riscv: Add static asssert for context size
Attached
Detach File
Event Timeline
Log In to Comment