7#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_ARCH_INLINES_H
8#define ZEPHYR_INCLUDE_ARCH_ARM64_ARCH_INLINES_H
30 uint64_t cpu_mpid = read_mpidr_el1();
32 __ASSERT(cpu_mpid == (
uint32_t)cpu_mpid,
"mpid extends past 32 bits");
39 return CONFIG_MP_MAX_NUM_CPUS;
static ALWAYS_INLINE int arch_exception_depth(void)
Definition arch_inlines.h:23
static ALWAYS_INLINE _cpu_t * arch_curr_cpu(void)
Definition arch_inlines.h:18
static ALWAYS_INLINE uint32_t arch_proc_id(void)
Definition arch_inlines.h:15
static ALWAYS_INLINE unsigned int arch_num_cpus(void)
Definition arch_inlines.h:12
__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