kvisc/ka/dos.k

41 lines
524 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.
;
; Entry point
;
_start:
mov rsp, 0x200000
xor rbp, rbp
call main
.1:
hlt
jmp .1
;
; Preprocessor misc.
;
include "inc/limits.k"
;
; Include librairies
;
include "crt/err/errno.k"
include "crt/fmt/format.k"
include "crt/str/string.k"
;
; Include drivers
;
include "sys/cpudev.k"
include "sys/memdev.k"
;
; Disk Operating System
;
include "tests.k"
include "main.k"