diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-09-24 21:01:16 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-09-24 21:01:16 -0400 |
commit | f8e800dea4aad59c83254bddd8e9ccfcd3b45774 (patch) | |
tree | 44673b259d1dede47648e58f2aeac1352893ca4f /src/optionroms.c | |
parent | f416fe97ae885e97a4c9678813a6005aa83fb4b6 (diff) | |
download | seabios-f8e800dea4aad59c83254bddd8e9ccfcd3b45774.tar.gz |
Interrupts should be enabled when calling 16bit code.
Set most code paths to have interrupts on when calling 16bit code.
This fixes at least one optionrom that needed irqs on.
Diffstat (limited to 'src/optionroms.c')
-rw-r--r-- | src/optionroms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/optionroms.c b/src/optionroms.c index 18526f4b..bdc0cb5f 100644 --- a/src/optionroms.c +++ b/src/optionroms.c @@ -87,6 +87,7 @@ __callrom(struct rom_header *rom, u16 offset, u16 bdf) struct bregs br; memset(&br, 0, sizeof(br)); + br.flags = F_IF; br.ax = bdf; br.bx = 0xffff; br.dx = 0xffff; @@ -442,6 +443,7 @@ vga_setup() dprintf(1, "Turning on vga console\n"); struct bregs br; memset(&br, 0, sizeof(br)); + br.flags = F_IF; br.ax = 0x0003; call16_int(0x10, &br); |