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
|
push $0x0
|
||||||
|
|
||||||
2:
|
2:
|
||||||
|
/* enable interrupts */
|
||||||
|
sti
|
||||||
|
|
||||||
/* start the kernel */
|
/* start the kernel */
|
||||||
call main
|
call main
|
||||||
mov %ebp, %esp
|
mov %ebp, %esp
|
||||||
|
|
Loading…
Reference in New Issue
Block a user