Add a "kern.features" MIB for 32bit support under a 64bit kernel.

This commit is contained in:
David E. O'Brien 2013-05-31 21:43:17 +00:00
parent 4e3f0e45cf
commit 1f4e9654bd

View File

@ -104,6 +104,8 @@ __FBSDID("$FreeBSD$");
#include <compat/freebsd32/freebsd32_signal.h>
#include <compat/freebsd32/freebsd32_proto.h>
FEATURE(compat_freebsd_32bit, "Compatible with 32-bit FreeBSD");
#ifndef __mips__
CTASSERT(sizeof(struct timeval32) == 8);
CTASSERT(sizeof(struct timespec32) == 8);