summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/interface
diff options
context:
space:
mode:
authorMichael Brown2007-07-10 05:32:30 +0200
committerMichael Brown2007-07-10 05:32:30 +0200
commit19871cbb967223b5fc86ca0886d5ead78669c92d (patch)
tree4d3871b1589e5dba4f8d984dd90c2704dac0ddfc /src/arch/i386/interface
parentWorking code to call the PXE stack from within the ISR. (diff)
downloadipxe-19871cbb967223b5fc86ca0886d5ead78669c92d.tar.gz
ipxe-19871cbb967223b5fc86ca0886d5ead78669c92d.tar.xz
ipxe-19871cbb967223b5fc86ca0886d5ead78669c92d.zip
We probably ought not to call INT13 with interrupts disabled.
Diffstat (limited to 'src/arch/i386/interface')
-rw-r--r--src/arch/i386/interface/pcbios/int13.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/interface/pcbios/int13.c b/src/arch/i386/interface/pcbios/int13.c
index 27a033b3b..0205d3661 100644
--- a/src/arch/i386/interface/pcbios/int13.c
+++ b/src/arch/i386/interface/pcbios/int13.c
@@ -646,6 +646,7 @@ int int13_boot ( unsigned int drive ) {
"pushw $0\n\t"
"popw %%es\n\t"
"stc\n\t"
+ "sti\n\t"
"int $0x13\n\t"
"sti\n\t" /* BIOS bugs */
"jc 1f\n\t"