From 142a4d29938aa4f7dde8d4ae621c479cc53fda36 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Thu, 11 Mar 2010 14:49:06 +0000 Subject: Provide groundwork for 32-bit binary compatibility on non-x86 platforms, for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32 option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts of the kernel and enhances the freebsd32 compatibility code to support big-endian platforms. Reviewed by: kib, jhb --- sys/ia64/conf/GENERIC | 1 + sys/ia64/conf/NOTES | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/ia64/conf') diff --git a/sys/ia64/conf/GENERIC b/sys/ia64/conf/GENERIC index b64c014..fed28bb 100644 --- a/sys/ia64/conf/GENERIC +++ b/sys/ia64/conf/GENERIC @@ -28,6 +28,7 @@ makeoptions DEBUG=-g # Build kernel with debug information. options AUDIT # Security event auditing options CD9660 # ISO 9660 Filesystem options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty) +options COMPAT_FREEBSD32 # Compatible with FreeBSD6 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options DDB # Support DDB diff --git a/sys/ia64/conf/NOTES b/sys/ia64/conf/NOTES index 873199a..3f38218 100644 --- a/sys/ia64/conf/NOTES +++ b/sys/ia64/conf/NOTES @@ -12,10 +12,10 @@ cpu ITANIUM cpu ITANIUM2 -# option: COMPAT_IA32 +# option: COMPAT_FREEBSD32 # This option enables the support for execution of i386 (32-bit) programs on # ia64. It is based on the ia32 emulation in the processor. -options COMPAT_IA32 +options COMPAT_FREEBSD32 # option: LOG2_ID_PAGE_SIZE # Specify the log2 size of the identity (direct) mappings in regions 6 and 7 -- cgit v1.1