diff options
| author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2010-04-07 02:24:41 +0000 |
|---|---|---|
| committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2010-04-07 02:24:41 +0000 |
| commit | 4ccf64eb2bb126b295631f77a22b60a34abd8f79 (patch) | |
| tree | 9cb5c82283f9840994363d827ab9f1affbd07fb4 /sys/ia64/include | |
| parent | 6836afc4c683a5bfa6c625f8adf455b7107eddae (diff) | |
Notes
Diffstat (limited to 'sys/ia64/include')
| -rw-r--r-- | sys/ia64/include/elf.h | 1 | ||||
| -rw-r--r-- | sys/ia64/include/reg.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/ia64/include/elf.h b/sys/ia64/include/elf.h index c6a43fcdc170..27182dbcae95 100644 --- a/sys/ia64/include/elf.h +++ b/sys/ia64/include/elf.h @@ -43,6 +43,7 @@ #include <sys/elf_generic.h> #define ELF_ARCH EM_IA_64 +#define ELF_ARCH32 EM_386 #define ELF_MACHINE_OK(x) ((x) == EM_IA_64) diff --git a/sys/ia64/include/reg.h b/sys/ia64/include/reg.h index 453c9b831412..e95db312d4a8 100644 --- a/sys/ia64/include/reg.h +++ b/sys/ia64/include/reg.h @@ -31,6 +31,10 @@ #include <machine/_regset.h> +#if defined(_KERNEL) && !defined(_STANDALONE) +#include "opt_compat.h" +#endif + struct reg { struct _special r_special; struct _callee_saved r_preserved; @@ -48,6 +52,11 @@ struct dbreg { unsigned long dbr_inst[8]; }; +#ifdef COMPAT_FREEBSD32 +#include <machine/fpu.h> +#include <compat/ia32/ia32_reg.h> +#endif + #ifdef _KERNEL struct thread; |
