Home
last modified time | relevance | path

Searched refs:arch_curr_cpu (Results 1 – 25 of 45) sorted by relevance

12

/Zephyr-latest/include/zephyr/arch/arm/
Darch_inlines.h15 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function
22 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function
36 return arch_curr_cpu()->id; in arch_proc_id()
/Zephyr-latest/tests/arch/x86/nmi/src/
Dmain.c45 arch_curr_cpu()->id, nmi_stacks[arch_curr_cpu()->id]); in z_x86_do_kernel_nmi()
47 zassert_true(stack > (uint64_t)nmi_stacks[arch_curr_cpu()->id] && in z_x86_do_kernel_nmi()
48 stack < (uint64_t)nmi_stacks[arch_curr_cpu()->id] + in z_x86_do_kernel_nmi()
/Zephyr-latest/include/zephyr/arch/x86/
Darch_inlines.h20 static inline struct _cpu *arch_curr_cpu(void) in arch_curr_cpu() function
37 return arch_curr_cpu()->id; in arch_proc_id()
/Zephyr-latest/include/zephyr/arch/arc/
Darch_inlines.h17 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function
36 return arch_curr_cpu()->id; in arch_proc_id()
/Zephyr-latest/arch/arm/include/cortex_a_r/
Dexception.h38 return (arch_curr_cpu()->nested != 0U); in arch_is_in_isr()
43 return (arch_curr_cpu()->arch.exc_depth > 1U) ? (true) : (false); in arch_is_in_nested_exception()
/Zephyr-latest/arch/arm64/core/
Dfatal.c38 cpu_id = arch_curr_cpu()->id; in z_arm64_safe_exception_stack_init()
41 arch_curr_cpu()->arch.safe_exception_stack = (uint64_t)safe_exc_sp; in z_arm64_safe_exception_stack_init()
44 arch_curr_cpu()->arch.current_stack_limit = 0UL; in z_arm64_safe_exception_stack_init()
45 arch_curr_cpu()->arch.corrupted_sp = 0UL; in z_arm64_safe_exception_stack_init()
289 sp_limit = arch_curr_cpu()->arch.current_stack_limit; in z_arm64_stack_corruption_check()
291 sp = arch_curr_cpu()->arch.corrupted_sp; in z_arm64_stack_corruption_check()
302 arch_curr_cpu()->arch.corrupted_sp = 0UL; in z_arm64_stack_corruption_check()
Dmacro_priv.inc47 * Note: keep in sync with `arch_curr_cpu` in include/zephyr/arch/arm64/arch_inlines.h
/Zephyr-latest/arch/arm64/include/
Dexception.h31 return arch_curr_cpu()->nested != 0U; in arch_is_in_isr()
/Zephyr-latest/include/zephyr/arch/riscv/
Dirq.h100 ++(arch_curr_cpu()->nested); in arch_isr_direct_header()
118 --(arch_curr_cpu()->nested); in arch_isr_direct_footer()
Darch_inlines.h21 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function
/Zephyr-latest/drivers/interrupt_controller/
Dintc_gicv3_its.c486 ret = its_send_mapti_cmd(data, device_id, event_id, intid, arch_curr_cpu()->id); in gicv3_its_map_intid()
493 return its_send_sync_cmd(data, gicv3_rdist_get_rdbase(dev, arch_curr_cpu()->id)); in gicv3_its_map_intid()
581 ret = its_send_mapc_cmd(data, arch_curr_cpu()->id, \
582 gicv3_rdist_get_rdbase(dev, arch_curr_cpu()->id), \
586 arch_curr_cpu()->id); \
604 ret = its_send_invall_cmd(data, arch_curr_cpu()->id); \
607 arch_curr_cpu()->id); \
611 gicv3_rdist_get_rdbase(dev, arch_curr_cpu()->id)); \
648 ret = its_send_mapc_cmd(data, arch_curr_cpu()->id, in gicv3_its_init()
649 gicv3_rdist_get_rdbase(dev, arch_curr_cpu()->id), true); in gicv3_its_init()
Dintc_cavs.c33 PER_CPU_OFFSET(arch_curr_cpu()->id)); in get_base_address()
/Zephyr-latest/include/zephyr/arch/arm64/
Darch_inlines.h18 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function
/Zephyr-latest/include/zephyr/arch/xtensa/
Darch_inlines.h63 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function
/Zephyr-latest/arch/arc/core/
Dirq_offload.c28 #define CURR_CPU (IS_ENABLED(CONFIG_SMP) ? arch_curr_cpu()->id : 0)
/Zephyr-latest/arch/x86/include/
Dkernel_arch_func.h30 ret = arch_curr_cpu()->nested != 0; in arch_is_in_isr()
/Zephyr-latest/tests/boards/intel_adsp/smoke/src/
Dsmpboot.c33 zassert_true(cpuid == 0 || cpuid == arch_curr_cpu()->id, in thread_fn()
/Zephyr-latest/arch/xtensa/core/
Dvector_handlers.c55 was_in_isr = arch_curr_cpu()->nested > 1; in xtensa_is_outside_stack_bounds()
64 cpu_id = arch_curr_cpu()->id; in xtensa_is_outside_stack_bounds()
236 arch_curr_cpu()->id, cause, in print_fatal_exception()
/Zephyr-latest/samples/synchronization/src/
Dmain.c50 cpu = arch_curr_cpu()->id; in hello_loop()
/Zephyr-latest/arch/xtensa/include/
Dkernel_arch_func.h143 return arch_curr_cpu()->nested != 0U; in arch_is_in_isr()
/Zephyr-latest/arch/arm64/core/cortex_r/
Darm_mpu.c339 (void)flush_dynamic_regions_to_mpu(sys_dyn_regions[arch_curr_cpu()->id], in z_arm64_mm_init()
340 sys_dyn_regions_num[arch_curr_cpu()->id]); in z_arm64_mm_init()
453 int num = sys_dyn_regions_num[arch_curr_cpu()->id]; in dup_dynamic_regions()
461 dst[i] = sys_dyn_regions[arch_curr_cpu()->id][i]; in dup_dynamic_regions()
834 int cpuid = arch_curr_cpu()->id; in z_arm64_swap_mem_domains()
/Zephyr-latest/arch/riscv/include/
Dkernel_arch_func.h88 bool ret = arch_curr_cpu()->nested != 0U; in arch_is_in_isr()
/Zephyr-latest/subsys/testsuite/include/zephyr/
Dinterrupt_util.h144 int cpu_id = arch_curr_cpu()->id; in trigger_irq()
/Zephyr-latest/include/zephyr/
Dkernel_structs.h262 arch_curr_cpu(); })
/Zephyr-latest/kernel/include/
Dkswap.h128 new_thread->base.cpu = arch_curr_cpu()->id; in do_swap()

12