8#ifndef ZEPHYR_INCLUDE_ARCH_ARC_ARCH_INLINES_H_
9#define ZEPHYR_INCLUDE_ARCH_ARC_ARCH_INLINES_H_
22 core = z_arc_v2_core_id();
24 return &_kernel.cpus[core];
26 return &_kernel.cpus[0];
41 return CONFIG_MP_MAX_NUM_CPUS;
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
ARCv2 auxiliary registers definitions.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90