mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
13 lines
204 B
ArmAsm
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
|