i386: enable interrupts before calling main()
This is for the kernel itself.
This commit is contained in:
parent
04b87759ef
commit
8d3b5cc6b9
|
@ -129,6 +129,9 @@ _start:
|
|||
push $0x0
|
||||
|
||||
2:
|
||||
/* enable interrupts */
|
||||
sti
|
||||
|
||||
/* start the kernel */
|
||||
call main
|
||||
mov %ebp, %esp
|
||||
|
|
Loading…
Reference in New Issue
Block a user