X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86_64%2Fstart64.asm;h=beb22e5a52381addbaf996351208dd65f391a8c7;hb=e7d03978fb7c0c6ab1250e56e73afba9ffb89923;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=b98fbd4e9c71447d81fc9bd643fb174c76346e0f;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86_64/start64.asm b/Kernel/arch/x86_64/start64.asm index e69de29b..beb22e5a 100644 --- a/Kernel/arch/x86_64/start64.asm +++ b/Kernel/arch/x86_64/start64.asm @@ -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: