summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/debug_md.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-09 08:39:43 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-09 08:39:43 +0000
commit3b627c3457e39f1d9441b7b18a512cacc4bb9590 (patch)
tree07ce482a2e95c706da0c3f93c74f0683fda93902 /sys/arch/i386/stand/libsa/debug_md.h
parentad40c3644a13f2dad4f4cf2dcb5a1c96dea57e58 (diff)
emulate bios calls. more debugging stuff. some fixes.
Diffstat (limited to 'sys/arch/i386/stand/libsa/debug_md.h')
-rw-r--r--sys/arch/i386/stand/libsa/debug_md.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/libsa/debug_md.h b/sys/arch/i386/stand/libsa/debug_md.h
index 014839f1978..a6b82672440 100644
--- a/sys/arch/i386/stand/libsa/debug_md.h
+++ b/sys/arch/i386/stand/libsa/debug_md.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: debug_md.h,v 1.2 1997/04/04 04:47:47 mickey Exp $ */
+/* $OpenBSD: debug_md.h,v 1.3 1997/04/09 08:39:34 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -40,6 +40,15 @@
&(r).r_ebp, &(r).r_esi, &(r).r_edi, &(r).r_eip, &(r).r_eflags, \
&(r).r_cs , &(r).r_ss, &(r).r_ds, &(r).r_es, &(r).r_fs, \
&(r).r_gs
+#define TRAP_NAMES \
+ "privileged instruction", "breakpoint trap", "arithmetic trap", \
+ "asynchronous system trap", "protection fault", "trace trap", \
+ "page fault", "alignment fault", "integer divide fault", \
+ "non-maskable interrupt", "overflow trap", "bounds check fault", \
+ "device not available fault", "double fault", \
+ "fp coprocessor operand fetch fault (![P]Pro)", "invalid tss fault", \
+ "segment not present fault", "stack fault", "machine check ([P]Pro)", \
+ "reserved fault base"
#ifdef _LOCORE
.globl _reg