git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More memory management functions implemented, other fixes too
[tpg/acess2.git]
/
Kernel
/
arch
/
x86_64
/
start64.asm
diff --git
a/Kernel/arch/x86_64/start64.asm
b/Kernel/arch/x86_64/start64.asm
index
bf7293b
..
beb22e5
100644
(file)
--- a/
Kernel/arch/x86_64/start64.asm
+++ b/
Kernel/arch/x86_64/start64.asm
@@
-3,6
+3,7
@@
;
[bits 64]
+[section .text]
[global start64]
start64:
; Set kernel stack
@@
-13,3
+14,8
@@
start64:
GetRIP:
mov rax, [rsp]
ret
+
+[section .bss]
+[global gInitialKernelStack]
+ resd 1024*1 ; 1 Page
+gInitialKernelStack:
UCC
git Repository :: git.ucc.asn.au