Files
linux-kernel-module-cheat/userland/arch/aarch64/add.S
Ciro Santilli 六四事件 法轮功 72200dee4e userland: scope every header identifier with lkmc_
2019-05-21 00:00:01 +00:00

10 lines
183 B
ArmAsm

/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */
#include "common.h"
LKMC_ENTRY
mov x0, 1
add x1, x0, 2
LKMC_ASSERT_EQ(x1, 3)
LKMC_EXIT