mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
wfe example, and more nostartfiles stuff
This commit is contained in:
6
userland/arch/aarch64/nostartfiles/wfe.S
Normal file
6
userland/arch/aarch64/nostartfiles/wfe.S
Normal file
@@ -0,0 +1,6 @@
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#arm-wfe-and-sev-instructions */
|
||||
.global _start
|
||||
_start:
|
||||
wfe
|
||||
mov x0, 0
|
||||
bl exit
|
||||
Reference in New Issue
Block a user