Restore the stack state after calling multiboot()

This commit is contained in:
Pierre Pronchery 2018-04-30 02:16:16 +02:00
parent 70b9a70645
commit 5d078a4094
2 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ _start:
jne 1f jne 1f
push %ebx push %ebx
call multiboot call multiboot
sub $0x4, %esp
1: 1:
/* set the interrupt descriptor */ /* set the interrupt descriptor */

View File

@ -59,6 +59,7 @@ _start:
jne 1f jne 1f
push %ebx push %ebx
call multiboot call multiboot
sub $0x4, %esp
1: 1:
/* start the loader */ /* start the loader */