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

13 lines
204 B
ArmAsm

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