aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/ia32
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-10-30 02:40:30 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-10-30 02:40:30 +0000
commit60a8c422cd8b32d2f28b145d361b3e7574c7caf4 (patch)
treea575dfdf8b779dbf7db20e52f5ccc5ab8a662bd2 /sys/compat/ia32
parent319de71e19f9c6ed3ee38a2cac5f1fe69c3694d5 (diff)
downloadsrc-60a8c422cd8b32d2f28b145d361b3e7574c7caf4.tar.gz
src-60a8c422cd8b32d2f28b145d361b3e7574c7caf4.zip
Add CTASSERT()'s to check that the sizes of our replicas of the 32 bit
structures come out the right size. Fix the ones that broke. stat32 had some missing fields from the end and statfs32 was broken due to the strange definition of MNAMELEN (which is dependent on sizeof(long)) I'm not sure if this fixes any actual problems or not.
Notes
Notes: svn path=/head/; revision=121719
Diffstat (limited to 'sys/compat/ia32')
-rw-r--r--sys/compat/ia32/ia32_signal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/compat/ia32/ia32_signal.h b/sys/compat/ia32/ia32_signal.h
index f251e72fb33c..53f6c7392343 100644
--- a/sys/compat/ia32/ia32_signal.h
+++ b/sys/compat/ia32/ia32_signal.h
@@ -35,7 +35,6 @@ struct ia32_sigaltstack {
int ss_flags; /* SS_DISABLE and/or SS_ONSTACK */
};
-/* XXX should be 640 bytes long; check and see if __packed is needed */
struct ia32_mcontext {
int mc_onstack; /* XXX - sigcontext compat. */
int mc_gs; /* machine state (struct trapframe) */
@@ -69,7 +68,6 @@ struct ia32_mcontext {
int mc_spare2[8];
};
-/* XXX should be 704 bytes long; check and see if __packed is needed */
struct ia32_ucontext {
sigset_t uc_sigmask;
struct ia32_mcontext uc_mcontext;