1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/ka/doskrnl.k
2019-07-10 12:26:15 +02:00

41 lines
566 B
Plaintext

; The OS/K Team licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
__sysmain:
jmp start
include "crt/crt.k"
;
; Entry point
;
start:
mov rsp, 0x200000
xor rbp, rbp
call main
call CMD.builtins.dir
mov rax, Sys.HLT
trap 0
crash
;
; Disk Operating System
;
include "sys/drv/cpudev.k"
include "sys/drv/memdev.k"
include "sys/drv/diskdev.k"
include "sys/intr/common.k"
include "sys/intr/trap0.k"
include "sys/tests.k"
include "sys/main.k"
include "usr/cmd/dir.k"