Ver código fonte

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

tags/v0.9.3
Michael Brown 17 anos atrás
pai
commit
d5e39286f7
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/arch/i386/image/bootsector.c

+ 1
- 0
src/arch/i386/image/bootsector.c Ver arquivo

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"

Carregando…
Cancelar
Salvar