summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include/biosint.h
diff options
context:
space:
mode:
authorMichael Brown2006-05-13 13:19:06 +0200
committerMichael Brown2006-05-13 13:19:06 +0200
commit847f38f4ac8a4c2c773ae63d07a8ecc77e7bd78f (patch)
tree33a7f2960581e1880bd00ec07cb986a195d987b1 /src/arch/i386/include/biosint.h
parent(Redoing check-in lost by SourceForge's failure.) (diff)
downloadipxe-847f38f4ac8a4c2c773ae63d07a8ecc77e7bd78f.tar.gz
ipxe-847f38f4ac8a4c2c773ae63d07a8ecc77e7bd78f.tar.xz
ipxe-847f38f4ac8a4c2c773ae63d07a8ecc77e7bd78f.zip
(Redoing check-in lost by SourceForge's failure.)
Add method for hooking real-mode interrupt vectors.
Diffstat (limited to 'src/arch/i386/include/biosint.h')
-rw-r--r--src/arch/i386/include/biosint.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/arch/i386/include/biosint.h b/src/arch/i386/include/biosint.h
new file mode 100644
index 000000000..55cb2728d
--- /dev/null
+++ b/src/arch/i386/include/biosint.h
@@ -0,0 +1,17 @@
+#ifndef BIOSINT_H
+#define BIOSINT_H
+
+/**
+ * @file BIOS interrupts
+ *
+ */
+
+struct segoff;
+
+extern void hook_bios_interrupt ( unsigned int interrupt, unsigned int handler,
+ struct segoff *chain_vector );
+extern int unhook_bios_interrupt ( unsigned int interrupt,
+ unsigned int handler,
+ struct segoff *chain_vector );
+
+#endif /* BIOSINT_H */