summaryrefslogtreecommitdiff
path: root/util/vgabios/int15.c
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-07-08 17:18:27 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-07-08 17:18:27 +0000
commit815212652994a43d3e05dc864343b722b70a129d (patch)
treec4f0d5c97b4c175f40889e126b816a5d7036151d /util/vgabios/int15.c
parent4c5060dc2bf8f944c54361f7913d20d02fff65a0 (diff)
added testbios for V2
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1624 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/vgabios/int15.c')
-rw-r--r--util/vgabios/int15.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/util/vgabios/int15.c b/util/vgabios/int15.c
new file mode 100644
index 0000000000..59af923ad1
--- /dev/null
+++ b/util/vgabios/int15.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+#include "test.h"
+
+void x86emu_dump_xregs();
+
+int int15_handler(void)
+{
+ printf("\nint15 encountered.\n");
+ x86emu_dump_xregs();
+ X86_EAX = 0;
+ return 1;
+}