先写一个通用的内联函数模板,然后再通过宏控来定义各种读写函数。
(core/arch/arm/include/arm64.h)/** Templates for register read/write functions based on mrs/msr*/#define DEFINE_REG_READ_FUNC_(reg, type, asmreg) \
sta
先写一个通用的内联函数模板,然后再通过宏控来定义各种读写函数。
(core/arch/arm/include/arm64.h)/** Templates for register read/write functions based on mrs/msr*/#define DEFINE_REG_READ_FUNC_(reg, type, asmreg) \
sta