1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00
os-k/obj/kaleid/kernel/init.S
2019-01-02 16:33:29 +01:00

31 lines
517 B
ArmAsm

.file "init.c"
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Goodbye World :("
.text
.p2align 4,,15
.globl StartKern
.type StartKern, @function
StartKern:
.LFB2:
.cfi_startproc
subq $8, %rsp
.cfi_def_cfa_offset 16
/APP
# 21 "kaleid/kernel/init.c" 1
cli
# 0 "" 2
/NO_APP
movabsq $__kstate, %rax
movb $3, (%rax)
movabsq $InitTerms, %rax
call *%rax
movabsq $.LC0, %rdi
movabsq $StartPanic, %rax
call *%rax
.cfi_endproc
.LFE2:
.size StartKern, .-StartKern
.ident "GCC: (GNU) 7.3.0"