i386: enable interrupts before calling main()

This is for the kernel itself.
This commit is contained in:
Pierre Pronchery 2025-03-17 20:11:44 +01:00
parent 04b87759ef
commit 8d3b5cc6b9

View File

@ -129,6 +129,9 @@ _start:
push $0x0
2:
/* enable interrupts */
sti
/* start the kernel */
call main
mov %ebp, %esp