mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 21:14:27 +01:00
aarch64 baremetal svc factored out for C and asm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include <common.h>
|
||||
#include <lkmc.h>
|
||||
|
||||
int main(void) {
|
||||
int i, j, k;
|
||||
@@ -9,5 +9,5 @@ int main(void) {
|
||||
k = i + j;
|
||||
/* test-gdb-result */
|
||||
if (k != 3)
|
||||
common_assert_fail();
|
||||
lkmc_assert_fail();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user