[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

@@ -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 */