Correctly position stack in higher half
This commit is contained in:
parent
1331f4103f
commit
70a2faa0c7
4 changed files with 14 additions and 13 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue