Files
linux-kernel-module-cheat/userland/arch/aarch64/freestanding/linux/wfe_wfe.S
Ciro Santilli 六四事件 法轮功 89a981aaf2 arm WFE: add some userland examples
2019-12-16 00:00:00 +00:00

14 lines
212 B
ArmAsm

/* https://cirosantilli.com/linux-kernel-module-cheat#arm-wfe-and-sev-instructions */
.text
.global _start
_start:
asm_main_after_prologue:
wfe
wfe
/* exit */
mov x0, 0
mov x8, 93
svc 0