multiboot: Fix relocator assembly issues
This commit is contained in:
parent
3d65bfb9b9
commit
94a20e649b
|
@ -16,7 +16,8 @@ multiboot_reloc_stub:
|
||||||
; EDX = ranges count
|
; EDX = ranges count
|
||||||
|
|
||||||
.code:
|
.code:
|
||||||
mov esp, .mini_stack_top
|
mov esp, ebx
|
||||||
|
add esp, .mini_stack_top - multiboot_reloc_stub
|
||||||
|
|
||||||
push edi
|
push edi
|
||||||
push esi
|
push esi
|
||||||
|
@ -54,6 +55,7 @@ multiboot_reloc_stub:
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
align 16
|
||||||
.mini_stack:
|
.mini_stack:
|
||||||
times 3 dq 0
|
times 3 dq 0
|
||||||
.mini_stack_top:
|
.mini_stack_top:
|
||||||
|
|
Loading…
Reference in New Issue