diff options
author | dfr <dfr@FreeBSD.org> | 2002-04-10 19:22:45 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2002-04-10 19:22:45 +0000 |
commit | 6ef0440dc4bdd358e71c4a7beea180a72f530a24 (patch) | |
tree | 7e0399e411c0dd010cd05aef6e94742fd6e80c48 /sys/ia64/include | |
parent | aab0c4649e53131502c670f04cd2cabec488bebe (diff) | |
download | FreeBSD-src-6ef0440dc4bdd358e71c4a7beea180a72f530a24.zip FreeBSD-src-6ef0440dc4bdd358e71c4a7beea180a72f530a24.tar.gz |
Add definitions for IA-32 exceptions, interrupts and intercepts.
Diffstat (limited to 'sys/ia64/include')
-rw-r--r-- | sys/ia64/include/ia64_cpu.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/ia64/include/ia64_cpu.h b/sys/ia64/include/ia64_cpu.h index 0d5182e..b2e0bff 100644 --- a/sys/ia64/include/ia64_cpu.h +++ b/sys/ia64/include/ia64_cpu.h @@ -128,6 +128,27 @@ #define IA64_VEC_IA32_INTERRUPT 47 /* + * IA-32 exceptions. + */ +#define IA32_EXCEPTION_DIVIDE 0 +#define IA32_EXCEPTION_DEBUG 1 +#define IA32_EXCEPTION_BREAK 3 +#define IA32_EXCEPTION_OVERFLOW 4 +#define IA32_EXCEPTION_BOUND 5 +#define IA32_EXCEPTION_DNA 7 +#define IA32_EXCEPTION_NOT_PRESENT 11 +#define IA32_EXCEPTION_STACK_FAULT 12 +#define IA32_EXCEPTION_GPFAULT 13 +#define IA32_EXCEPTION_FPERROR 16 +#define IA32_EXCEPTION_ALIGNMENT_CHECK 17 +#define IA32_EXCEPTION_STREAMING_SIMD 19 + +#define IA32_INTERCEPT_INSTRUCTION 0 +#define IA32_INTERCEPT_GATE 1 +#define IA32_INTERCEPT_SYSTEM_FLAG 2 +#define IA32_INTERCEPT_LOCK 4 + +/* * Manipulating region bits of an address. */ #define IA64_RR_BASE(n) (((u_int64_t) (n)) << 61) |