diff options
author | peter <peter@FreeBSD.org> | 2003-12-11 01:05:09 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-12-11 01:05:09 +0000 |
commit | 90628de204fdfb510d2d28daf316a7988cfad80f (patch) | |
tree | 8460e4b3ec26fedf10dceba243c3a153399e4f23 /sys/compat/ia32/ia32_util.h | |
parent | 6a3f22c92823e5d15a6c77347f8607f856e4f108 (diff) | |
download | FreeBSD-src-90628de204fdfb510d2d28daf316a7988cfad80f.zip FreeBSD-src-90628de204fdfb510d2d28daf316a7988cfad80f.tar.gz |
Assimilate ia64 back into the fold with the common freebsd32/ia32 code.
The split-up code is derived from the ia64 code originally.
Note that I have only compile-tested this, not actually run-tested it.
The ia64 side of the force is missing some significant chunks of signal
delivery code.
Diffstat (limited to 'sys/compat/ia32/ia32_util.h')
-rw-r--r-- | sys/compat/ia32/ia32_util.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/compat/ia32/ia32_util.h b/sys/compat/ia32/ia32_util.h index f6de375..a2b88cb 100644 --- a/sys/compat/ia32/ia32_util.h +++ b/sys/compat/ia32/ia32_util.h @@ -37,8 +37,13 @@ #include <sys/sysent.h> #include <sys/cdefs.h> -#define FREEBSD32_USRSTACK ((1ul << 32) - PAGE_SIZE) +#ifdef __ia64__ +#define FREEBSD32_USRSTACK ((1ul << 32) - IA32_PAGE_SIZE * 2) +#else +#define FREEBSD32_USRSTACK ((1ul << 32) - IA32_PAGE_SIZE) +#endif +#define IA32_PAGE_SIZE 4096 #define IA32_MAXDSIZ (512*1024*1024) /* 512MB */ #define IA32_MAXSSIZ (64*1024*1024) /* 64MB */ #define IA32_MAXVMEM 0 /* Unlimited */ |