Browse Source

We probably shouldn't leave interrupts disabled when starting an OS.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
d5e39286f7
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/arch/i386/image/bootsector.c

+ 1
- 0
src/arch/i386/image/bootsector.c View File

@@ -80,6 +80,7 @@ int call_bootsector ( unsigned int segment, unsigned int offset,
80 80
 					   /* Jump to boot sector */
81 81
 					   "pushw %%bx\n\t"
82 82
 					   "pushw %%di\n\t"
83
+					   "sti\n\t"
83 84
 					   "lret\n\t"
84 85
 					   /* Preserved variables */
85 86
 					   "\nsaved_ss: .word 0\n\t"

Loading…
Cancel
Save