mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
9 lines
177 B
ArmAsm
9 lines
177 B
ArmAsm
.global main
|
|
main:
|
|
/* SYS_EXIT */
|
|
mov r0, #0x18
|
|
/* ADP_Stopped_ApplicationExit */
|
|
ldr r1, =#0x20026
|
|
/* Do the semihosting call on A32. */
|
|
svc 0x00123456
|