mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
40 lines
507 B
Plaintext
40 lines
507 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:
|
|
stop
|
|
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 "main.k"
|
|
|