More memory management functions implemented, other fixes too
[tpg/acess2.git] / Kernel / arch / x86_64 / start64.asm
index e69de29..beb22e5 100644 (file)
@@ -0,0 +1,21 @@
+;
+; Acess2 x86_64 Port
+;
+[bits 64]
+
+[section .text]
+[global start64]
+start64:
+       ; Set kernel stack
+       ; Call main
+       jmp $
+
+[global GetRIP]
+GetRIP:
+       mov rax, [rsp]
+       ret
+
+[section .bss]
+[global gInitialKernelStack]
+       resd    1024*1  ; 1 Page
+gInitialKernelStack:

UCC git Repository :: git.ucc.asn.au