diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-04-28 20:17:15 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-04-29 18:24:04 +0100 |
commit | 23b671daf490acaec6fdad55f2bfa44021200a63 (patch) | |
tree | d457aaccd7b8764494b932fbf59b412a85878298 /src/core/gdbstub.c | |
parent | 4413ab4f5acbeba9a42f9567a687ffc5661ae190 (diff) | |
download | ipxe-23b671daf490acaec6fdad55f2bfa44021200a63.zip ipxe-23b671daf490acaec6fdad55f2bfa44021200a63.tar.gz ipxe-23b671daf490acaec6fdad55f2bfa44021200a63.tar.bz2 |
[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/core/gdbstub.c')
-rw-r--r-- | src/core/gdbstub.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/gdbstub.c b/src/core/gdbstub.c index cbe328f..af06118 100644 --- a/src/core/gdbstub.c +++ b/src/core/gdbstub.c @@ -396,5 +396,6 @@ struct gdb_transport *find_gdb_transport ( const char *name ) { void gdbstub_start ( struct gdb_transport *trans ) { stub.trans = trans; stub.payload = &stub.buf [ 1 ]; + gdbmach_init(); gdbmach_breakpoint(); } |