summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include
diff options
context:
space:
mode:
authorMichael Brown2016-01-12 09:27:59 +0100
committerMichael Brown2016-01-12 09:27:59 +0100
commit83c8f2e8e352e676d9951dda58b74e587101c0b4 (patch)
treec34d2a8689d19c8b4fa1790d8ef5e09e740fc758 /src/arch/i386/include
parent[pxe] Add debug message to display real-mode segment addresses (diff)
downloadipxe-83c8f2e8e352e676d9951dda58b74e587101c0b4.tar.gz
ipxe-83c8f2e8e352e676d9951dda58b74e587101c0b4.tar.xz
ipxe-83c8f2e8e352e676d9951dda58b74e587101c0b4.zip
[i386] Add check_bios_interrupts() debug function
Provide a debug function check_bios_interrupts() to look for changes to the interrupt vector table. This can be useful when investigating the behaviour (including crashes) of external PXE NBPs. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/include')
-rw-r--r--src/arch/i386/include/biosint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/include/biosint.h b/src/arch/i386/include/biosint.h
index 67d6a3811..f47116f70 100644
--- a/src/arch/i386/include/biosint.h
+++ b/src/arch/i386/include/biosint.h
@@ -29,5 +29,6 @@ extern void hook_bios_interrupt ( unsigned int interrupt, unsigned int handler,
extern int unhook_bios_interrupt ( unsigned int interrupt,
unsigned int handler,
struct segoff *chain_vector );
+extern void check_bios_interrupts ( void );
#endif /* BIOSINT_H */