summaryrefslogtreecommitdiffstats
path: root/src/arch/x86_64/include/gdbmach.h
diff options
context:
space:
mode:
authorMichael Brown2014-04-28 21:17:15 +0200
committerMichael Brown2014-04-29 19:24:04 +0200
commit23b671daf490acaec6fdad55f2bfa44021200a63 (patch)
treed457aaccd7b8764494b932fbf59b412a85878298 /src/arch/x86_64/include/gdbmach.h
parent[build] Allow for a debug level of zero (diff)
downloadipxe-23b671daf490acaec6fdad55f2bfa44021200a63.tar.gz
ipxe-23b671daf490acaec6fdad55f2bfa44021200a63.tar.xz
ipxe-23b671daf490acaec6fdad55f2bfa44021200a63.zip
[librm] Allow interrupts in protected mode
When running in a virtual machine, switching to real mode may be expensive. Allow interrupts to be enabled while in protected mode and reflected down to the real-mode interrupt handlers. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86_64/include/gdbmach.h')
-rw-r--r--src/arch/x86_64/include/gdbmach.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86_64/include/gdbmach.h b/src/arch/x86_64/include/gdbmach.h
index fcf8e94e6..6dadbbdd3 100644
--- a/src/arch/x86_64/include/gdbmach.h
+++ b/src/arch/x86_64/include/gdbmach.h
@@ -48,4 +48,6 @@ static inline void gdbmach_breakpoint ( void ) {
extern int gdbmach_set_breakpoint ( int type, unsigned long addr, size_t len, int enable );
+extern void gdbmach_init ( void );
+
#endif /* GDBMACH_H */