Преглед на файлове

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"

Loading…
Отказ
Запис