14#ifndef ZEPHYR_INCLUDE_ARCH_ARM_MISC_H_
15#define ZEPHYR_INCLUDE_ARCH_ARM_MISC_H_
38 __asm__
volatile(
"nop");
41#if defined(CONFIG_USERSPACE)
42extern bool z_arm_thread_is_in_user_mode(
void);
45#if defined(CONFIG_ARM_ON_ENTER_CPU_IDLE_HOOK)
51bool z_arm_on_enter_cpu_idle(
void);
54#if defined(CONFIG_ARM_ON_ENTER_CPU_IDLE_PREPARE_HOOK)
60void z_arm_on_enter_cpu_idle_prepare(
void);
uint64_t sys_clock_cycle_get_64(void)
uint32_t sys_clock_cycle_get_32(void)
static uint32_t arch_k_cycle_get_32(void)
Definition: misc.h:26
static uint64_t arch_k_cycle_get_64(void)
Definition: misc.h:33
static ALWAYS_INLINE void arch_nop(void)
Definition: misc.h:36
#define ALWAYS_INLINE
Definition: common.h:129
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
__UINT64_TYPE__ uint64_t
Definition: stdint.h:91