diff options
author | Xander <xander@icth.xyz> | 2023-06-28 22:49:01 +0200 |
---|---|---|
committer | Xander <xander@icth.xyz> | 2023-06-28 22:49:01 +0200 |
commit | c5bd05fa070d25ae6700660347bdb59ae84390e6 (patch) | |
tree | 437ebe500f0576c7017138288cdfe8a532c4535f /arch/x86_64/boot/long_mode_init.asm | |
parent | 448ecd41edd95b86930b5ac7288f2ea9311d476c (diff) | |
download | ats-os-c5bd05fa070d25ae6700660347bdb59ae84390e6.tar.xz ats-os-c5bd05fa070d25ae6700660347bdb59ae84390e6.zip |
Calling c code
Diffstat (limited to 'arch/x86_64/boot/long_mode_init.asm')
-rw-r--r-- | arch/x86_64/boot/long_mode_init.asm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86_64/boot/long_mode_init.asm b/arch/x86_64/boot/long_mode_init.asm index eab3788..c3167f9 100644 --- a/arch/x86_64/boot/long_mode_init.asm +++ b/arch/x86_64/boot/long_mode_init.asm @@ -11,6 +11,9 @@ long_mode_start: mov fs, ax mov gs, ax + extern main + call main + ; print `OKAY` to screen mov rax, 0x2f592f412f4b2f4f mov qword [0xb8000], rax |