Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144415258
D32958.id102517.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
743 B
Referenced Files
None
Subscribers
None
D32958.id102517.diff
View Options
Index: sys/arm64/arm64/exec_machdep.c
===================================================================
--- sys/arm64/arm64/exec_machdep.c
+++ sys/arm64/arm64/exec_machdep.c
@@ -60,6 +60,13 @@
#include <machine/vfp.h>
#endif
+_Static_assert(sizeof(mcontext_t) == 880, "mcontext_t bogusly changed size");
+_Static_assert(sizeof(ucontext_t) == 960, "mcontext_t bogusly changed size");
+#ifdef COMPAT_FREEBSD32
+_Static_assert(sizeof(mcontext32_t) == 208, "mcontext32_t bogusly changed size");
+_Static_assert(sizeof(ucontext32_t) == 260, "ucontext32_t bogusly changed size");
+#endif /* COMPAT_FREEBSD32 */
+
static void get_fpcontext(struct thread *td, mcontext_t *mcp);
static void set_fpcontext(struct thread *td, mcontext_t *mcp);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 8:05 AM (10 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28555850
Default Alt Text
D32958.id102517.diff (743 B)
Attached To
Mode
D32958: aarch64: Add static asssert for context size
Attached
Detach File
Event Timeline
Log In to Comment