Add definitions for IA-32 exceptions, interrupts and intercepts.

This commit is contained in:
Doug Rabson 2002-04-10 19:22:45 +00:00
parent 90a9863e16
commit 01426578dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94373

View File

@ -127,6 +127,27 @@
#define IA64_VEC_IA32_INTERCEPT 46
#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.
*/