It was completely *********

This commit is contained in:
Adrien Bourmault 2019-05-11 20:55:46 +02:00
parent 5f539e169f
commit d7abbcf608
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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