20#define NEW_TASK_CPSR 0x1F
23uint32_t get_system_speed(
void);
24void cpu_clock_scale(uint32_t source, uint32_t target, uint32_t *prescale);
31static inline uintptr_t cpu_get_caller_pc(
void)
33 register uintptr_t lr_ptr;
35 __asm__ __volatile__ (
"mov %0, lr" :
"=r" (lr_ptr));
46#define STACK_CANARY_WORD (0xEAFFFFFEu)
52#ifdef __ARM_FEATURE_CLZ
53#define BITARITHM_LSB_BUILTIN
54#define BITARITHM_HAS_CLZ
56#define BITARITHM_LSB_LOOKUP
ARM7 CPU common declarations.