mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
ldxr_stxr does an ldxr on thread 0 to fall in the ISA case where event is certain. Also add ldxr_str which tests yet another case where event is certain: non conditional write.
11 lines
233 B
ArmAsm
11 lines
233 B
ArmAsm
/* https://cirosantilli.com/linux-kernel-module-cheat#benchmark-emulators-on-userland-executables */
|
|
|
|
#define LKMC_M5OPS_ENABLE 1
|
|
#include "lkmc/m5ops.h"
|
|
|
|
.text
|
|
.global _start
|
|
_start:
|
|
asm_main_after_prologue:
|
|
LKMC_M5OPS_EXIT_ASM
|