helos1/runtime/panic_assert.asm.S

14 lines
248 B
ArmAsm
Raw Normal View History

2021-10-10 14:11:45 +08:00
format elf64
section '.text' executable
; whatevercall void __Panic_HaltSystem();
;
; Panic_HaltSystem halts the system by an infinite loop calling the HLT instruction.
public __Panic_HaltSystem
__Panic_HaltSystem:
hlt
jmp __Panic_HaltSystem