Correctly position stack in higher half

This commit is contained in:
Jeremy Soller 2016-09-19 08:46:11 -06:00
parent 1331f4103f
commit 70a2faa0c7
4 changed files with 14 additions and 13 deletions

View file

@ -122,10 +122,11 @@ long_mode:
mov gs, rax
mov ss, rax
mov rsp, 0x0009F000
mov rsp, 0xFFFFFF000009F000
;rust init
mov rax, [kernel_base + 0x18]
xchg bx, bx
jmp rax
long_mode_ap: