浏览代码

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

tags/v0.9.3
Michael Brown 18 年前
父节点
当前提交
d5e39286f7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/arch/i386/image/bootsector.c

+ 1
- 0
src/arch/i386/image/bootsector.c 查看文件

80
 					   /* Jump to boot sector */
80
 					   /* Jump to boot sector */
81
 					   "pushw %%bx\n\t"
81
 					   "pushw %%bx\n\t"
82
 					   "pushw %%di\n\t"
82
 					   "pushw %%di\n\t"
83
+					   "sti\n\t"
83
 					   "lret\n\t"
84
 					   "lret\n\t"
84
 					   /* Preserved variables */
85
 					   /* Preserved variables */
85
 					   "\nsaved_ss: .word 0\n\t"
86
 					   "\nsaved_ss: .word 0\n\t"

正在加载...
取消
保存