31 lines
517 B
ArmAsm
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"
|