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_sysvec.c | |
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_sysvec.c')
-rw-r--r-- | sys/compat/ia32/ia32_sysvec.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/compat/ia32/ia32_sysvec.c b/sys/compat/ia32/ia32_sysvec.c index 9c14fc4..67b7db3 100644 --- a/sys/compat/ia32/ia32_sysvec.c +++ b/sys/compat/ia32/ia32_sysvec.c @@ -68,9 +68,15 @@ __FBSDID("$FreeBSD$"); #include <compat/freebsd32/freebsd32_proto.h> #include <compat/freebsd32/freebsd32_syscall.h> #include <compat/ia32/ia32_signal.h> +#ifdef __amd64__ #include <machine/psl.h> #include <machine/segments.h> #include <machine/specialreg.h> +#else +#include <i386/include/psl.h> +#include <i386/include/segments.h> +#include <i386/include/specialreg.h> +#endif #include <machine/frame.h> #include <machine/md_var.h> #include <machine/pcb.h> @@ -111,7 +117,7 @@ struct sysentvec ia32_freebsd_sysvec = { elf32_coredump, NULL, MINSIGSTKSZ, - PAGE_SIZE, + IA32_PAGE_SIZE, 0, FREEBSD32_USRSTACK, FREEBSD32_USRSTACK, |