浏览代码

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

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

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

@@ -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"

正在加载...
取消
保存