7#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_ARCH_INLINES_H
8#define ZEPHYR_INCLUDE_ARCH_ARM64_ARCH_INLINES_H
32 __ASSERT(cpu_mpid == (
uint32_t)cpu_mpid,
"mpid extends past 32 bits");
39 return CONFIG_MP_MAX_NUM_CPUS;
static ALWAYS_INLINE uint64_t read_tpidrro_el0(void)
Definition lib_helpers.h:78
static ALWAYS_INLINE uint64_t read_mpidr_el1(void)
Definition lib_helpers.h:73
static ALWAYS_INLINE _cpu_t * arch_curr_cpu(void)
Definition arch_inlines.h:17
static ALWAYS_INLINE uint32_t arch_proc_id(void)
Definition arch_inlines.h:30
static ALWAYS_INLINE unsigned int arch_num_cpus(void)
Definition arch_inlines.h:39
static ALWAYS_INLINE int arch_exception_depth(void)
Definition arch_inlines.h:23
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
tpidrro_el0 bits allocation
#define TPIDRROEL0_EXC_UNIT
Definition tpidrro_el0.h:25
#define TPIDRROEL0_CURR_CPU
Definition tpidrro_el0.h:22
#define TPIDRROEL0_EXC_DEPTH
Definition tpidrro_el0.h:24