mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
It was completely *********
This commit is contained in:
parent
5f539e169f
commit
d7abbcf608
@ -170,7 +170,6 @@ _loader64:
|
||||
call write
|
||||
|
||||
mov qword [newKernelEnd], KERNEL_STACK
|
||||
mov qword [realKernelEnd], realKernelEnd
|
||||
mov rdi, [mbInfo]
|
||||
mov rsi, [mbMagic]
|
||||
mov rdx, GDT64.code
|
||||
|
@ -125,6 +125,7 @@ InitStack:
|
||||
push rdi
|
||||
|
||||
;; Begin address to fill and length
|
||||
mov qword [realKernelEnd], kernelEnd
|
||||
mov rdi, kernelEnd
|
||||
mov rcx, KERNEL_STACK - kernelEnd - 16
|
||||
; stop before the return address
|
||||
|
Loading…
Reference in New Issue
Block a user