mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-30 05:24:25 +01:00
gem5: port lkmc/m5ops.h to x86
We can now easily include x86 m5ops on our gem5 examples.
This commit is contained in:
@@ -10916,8 +10916,9 @@ To use that file, first rebuild `m5ops.out` with the m5ops instructions enabled
|
||||
./build-userland \
|
||||
--arch aarch64 \
|
||||
--ccflags='-DLKMC_M5OPS_ENABLE=1' \
|
||||
--force-rebuild c/m5ops \
|
||||
--force-rebuild \
|
||||
--static \
|
||||
userland/c/m5ops.c \
|
||||
;
|
||||
./build-buildroot --arch aarch64
|
||||
....
|
||||
|
||||
Reference in New Issue
Block a user