summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-04 16:14:10 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-04 16:14:10 +0000
commitf0ac84170bee6426a78e0d9673cbf553b58a17eb (patch)
treeed013e4233243e1d69bae8c65b66091ff0db07c0 /sys/arch/i386/include
parente5f8214221306e1fad31fb4e7e52b0c7bbe1b108 (diff)
add 'machine check' trap for Pentium and PPro cpus.
no special handler for it. i guess there will be rare cases when you receive it, and then you should repair your cpu, since it happens on internal cpu error.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/trap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/include/trap.h b/sys/arch/i386/include/trap.h
index bb9c7bbb434..31980897b3e 100644
--- a/sys/arch/i386/include/trap.h
+++ b/sys/arch/i386/include/trap.h
@@ -57,11 +57,12 @@
#define T_BOUND 11 /* bounds check fault */
#define T_DNA 12 /* device not available fault */
#define T_DOUBLEFLT 13 /* double fault */
-#define T_FPOPFLT 14 /* fp coprocessor operand fetch fault */
+#define T_FPOPFLT 14 /* fp coprocessor operand fetch fault (![P]Pro)*/
#define T_TSSFLT 15 /* invalid tss fault */
#define T_SEGNPFLT 16 /* segment not present fault */
#define T_STKFLT 17 /* stack fault */
-#define T_RESERVED 18 /* reserved fault base */
+#define T_MACHK 18 /* machine check ([P]Pro) */
+#define T_RESERVED 19 /* reserved fault base */
/* Trap's coming from user mode */
#define T_USER 0x100