Skip to content

Commit 8d3b5cc

Browse files
committed
i386: enable interrupts before calling main()
This is for the kernel itself.
1 parent 04b8775 commit 8d3b5cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/arch/i386/kernel.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ _start:
129129
push $0x0
130130

131131
2:
132+
/* enable interrupts */
133+
sti
134+
132135
/* start the kernel */
133136
call main
134137
mov %ebp, %esp

0 commit comments

Comments
 (0)