summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2007-07-25 03:02:24 +0200
committerMichael Brown2007-07-25 03:02:24 +0200
commitd5e39286f78d89e6f01b492a67353052488805db (patch)
tree5033a9a34bf76b5d5aa67e985744585880847701
parentAdd per-file error identifiers (diff)
downloadipxe-d5e39286f78d89e6f01b492a67353052488805db.tar.gz
ipxe-d5e39286f78d89e6f01b492a67353052488805db.tar.xz
ipxe-d5e39286f78d89e6f01b492a67353052488805db.zip
We probably shouldn't leave interrupts disabled when starting an OS.
-rw-r--r--src/arch/i386/image/bootsector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/image/bootsector.c b/src/arch/i386/image/bootsector.c
index d2711a87b..0f297a26a 100644
--- a/src/arch/i386/image/bootsector.c
+++ b/src/arch/i386/image/bootsector.c
@@ -80,6 +80,7 @@ int call_bootsector ( unsigned int segment, unsigned int offset,
/* Jump to boot sector */
"pushw %%bx\n\t"
"pushw %%di\n\t"
+ "sti\n\t"
"lret\n\t"
/* Preserved variables */
"\nsaved_ss: .word 0\n\t"