More memory management functions implemented, other fixes too
[tpg/acess2.git] / Kernel / arch / x86_64 / start64.asm
1 ;
2 ; Acess2 x86_64 Port
3 ;
4 [bits 64]
5
6 [section .text]
7 [global start64]
8 start64:
9         ; Set kernel stack
10         ; Call main
11         jmp $
12
13 [global GetRIP]
14 GetRIP:
15         mov rax, [rsp]
16         ret
17
18 [section .bss]
19 [global gInitialKernelStack]
20         resd    1024*1  ; 1 Page
21 gInitialKernelStack:

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