mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
[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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user