mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 04:54:27 +01:00
userland: scope every header identifier with lkmc_
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
#include "common.h"
|
||||
|
||||
ENTRY
|
||||
LKMC_ENTRY
|
||||
ldr x19, =0x1122334455667788
|
||||
|
||||
ldr x20, =0xFFFFFFFFFFFFFFFF
|
||||
ubfx x20, x19, 8, 16
|
||||
ASSERT_EQ(x20, 0x0000000000006677)
|
||||
LKMC_ASSERT_EQ(x20, 0x0000000000006677)
|
||||
|
||||
ldr x20, =0xFFFFFFFFFFFFFFFF
|
||||
ubfx x20, x19, 8, 32
|
||||
ASSERT_EQ(x20, 0x0000000044556677)
|
||||
EXIT
|
||||
LKMC_ASSERT_EQ(x20, 0x0000000044556677)
|
||||
LKMC_EXIT
|
||||
|
||||
Reference in New Issue
Block a user