We probably shouldn't leave interrupts disabled when starting an OS.
authorMichael Brown <mcb30@etherboot.org>
Wed, 25 Jul 2007 01:02:24 +0000 (02:02 +0100)
committerMichael Brown <mcb30@etherboot.org>
Wed, 25 Jul 2007 01:02:24 +0000 (02:02 +0100)
src/arch/i386/image/bootsector.c

index d2711a8..0f297a2 100644 (file)
@@ -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"