aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-07-10 04:32:30 +0100
committerMichael Brown <mcb30@etherboot.org>2007-07-10 04:32:30 +0100
commit19871cbb967223b5fc86ca0886d5ead78669c92d (patch)
tree4d3871b1589e5dba4f8d984dd90c2704dac0ddfc /src/arch
parent027fed72c1c76eb3e1a5038d713c074c8ac2034b (diff)
downloadipxe-19871cbb967223b5fc86ca0886d5ead78669c92d.tar.gz
We probably ought not to call INT13 with interrupts disabled.
Diffstat (limited to 'src/arch')
-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 27a033b3..0205d366 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"