summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-10-30 02:40:30 +0000
committerpeter <peter@FreeBSD.org>2003-10-30 02:40:30 +0000
commit11bf308b70fdf315f6dd687da1123fe0efa3969e (patch)
treea575dfdf8b779dbf7db20e52f5ccc5ab8a662bd2 /sys/compat/ia32
parent3ac5936ae2d8a943a85870924dded1c08cbf2aed (diff)
downloadFreeBSD-src-11bf308b70fdf315f6dd687da1123fe0efa3969e.zip
FreeBSD-src-11bf308b70fdf315f6dd687da1123fe0efa3969e.tar.gz
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.
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 f251e72..53f6c73 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;
OpenPOWER on IntegriCloud