git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
beb22e5a52381addbaf996351208dd65f391a8c7
[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