[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>
This commit is contained in:
Michael Brown
2014-04-28 20:17:15 +01:00
parent 4413ab4f5a
commit 23b671daf4
9 changed files with 322 additions and 135 deletions

View File

@@ -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();
}