diff options
author | tijl <tijl@FreeBSD.org> | 2012-03-18 19:06:38 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2012-03-18 19:06:38 +0000 |
commit | 2bf580ea66d788d822942a29b2d9fe19d7d0c7d6 (patch) | |
tree | a2bfb9dfb51dc3e326eee9056051278919316b8e /sys/compat | |
parent | f36691a4af70956621d759efff296eb1fa3d40fa (diff) | |
download | FreeBSD-src-2bf580ea66d788d822942a29b2d9fe19d7d0c7d6.zip FreeBSD-src-2bf580ea66d788d822942a29b2d9fe19d7d0c7d6.tar.gz |
Copy i386 reg.h to x86 and merge with amd64 reg.h. Replace i386/amd64/pc98
reg.h with stubs.
The tREGISTER macros are only made visible on i386. These macros are
deprecated and should not be available on amd64.
The i386 and amd64 versions of struct reg have been renamed to struct
__reg32 and struct __reg64. During compilation either __reg32 or __reg64
is defined as reg depending on the machine architecture. On amd64 the i386
struct is also available as struct reg32 which is used in COMPAT_FREEBSD32
code.
Most of compat/ia32/ia32_reg.h is now IA64 only.
Reviewed by: kib (previous version)
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/ia32/ia32_reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/ia32/ia32_reg.h b/sys/compat/ia32/ia32_reg.h index 5fb7c30..5e7cb9e 100644 --- a/sys/compat/ia32/ia32_reg.h +++ b/sys/compat/ia32/ia32_reg.h @@ -36,6 +36,7 @@ #ifndef _COMPAT_IA32_IA32_REG_H_ #define _COMPAT_IA32_IA32_REG_H_ +#ifdef __ia64__ /* * Register set accessible via /proc/$pid/regs and PT_{SET,GET}REGS. */ @@ -77,6 +78,7 @@ struct fpreg32 { struct dbreg32 { unsigned int dr[8]; /* debug registers */ }; +#endif /* * Wrappers and converters. |