Home
last modified time | relevance | path

Searched full:nested (Results 1 – 25 of 527) sorted by relevance

12345678910>>...22

/Zephyr-latest/tests/kernel/common/src/
Dirq_offload.c46 /* Simple validation of nested locking. */ in ZTEST()
81 zassert_false(nested_executed, "nested irq_offload ran too soon"); in nestoff_timer_fn()
83 zassert_true(nested_executed, "nested irq_offload did not run"); in nestoff_timer_fn()
101 * resulting nested interrupt doesn't explode
114 zassert_false(nested_executed, "nested irq_offload ran too soon"); in ZTEST()
119 * effects a context switch of the nested interrupt (see in ZTEST()
129 zassert_true(nested_executed, "nested irq_offload did not run"); in ZTEST()
/Zephyr-latest/tests/modules/nanopb/proto/
Dcomplex.proto9 import "sub/nested.proto";
12 NestedMessage nested = 1; field
/Zephyr-latest/tests/modules/nanopb/src/
Dmain.c52 msg.nested.id = 42; in ZTEST()
53 strcpy(msg.nested.name, "Test name"); in ZTEST()
68 zassert_equal(42, msg.nested.id); in ZTEST()
70 zassert_str_equal(msg.nested.name, "Test name"); in ZTEST()
/Zephyr-latest/arch/arm64/core/
Disr_wrapper.S35 /* ++_current_cpu->nested to be checked by arch_is_in_isr() */
41 /* If not nested: switch to IRQ stack and save current sp on it. */
93 * Call the ISR. Unmask and mask again the IRQs to support nested
116 /* if (--_current_cpu->nested != 0) exit */
123 /* No more nested: retrieve the task's stack. */
/Zephyr-latest/arch/sparc/core/
Dirq_manage.c31 _current_cpu->nested++; in z_sparc_enter_irq()
48 _current_cpu->nested--; in z_sparc_enter_irq()
/Zephyr-latest/arch/arm/core/cortex_a_r/
Dfault.c156 if (_current_cpu->nested > 1) { in z_arm_fault_undef_instruction_fp()
158 * If the nested count is greater than 1, the undefined in z_arm_fault_undef_instruction_fp()
160 * irq/svc handler would have the nested count at 1 and then in z_arm_fault_undef_instruction_fp()
173 * If the nested count is 2 and the current thread has used the in z_arm_fault_undef_instruction_fp()
175 * current exception) OR if the nested count is greater than 2 in z_arm_fault_undef_instruction_fp()
180 if (((_current_cpu->nested == 2) in z_arm_fault_undef_instruction_fp()
182 || ((_current_cpu->nested > 2) in z_arm_fault_undef_instruction_fp()
194 * If the nested count is one, a thread was the faulting in z_arm_fault_undef_instruction_fp()
Dexc_exit.S137 /* Disable nested interrupts while exiting, this should happens
143 /* Do not context switch if exiting a nested interrupt */
198 * If exiting a nested or non-fatal exception, the exit routine restores the
201 * If exiting a non-nested fatal exception, the exit routine, assuming that the
211 /* Do not context switch if exiting a nested exception */
Disr_wrapper.S133 * interrupted context in case of a nested interrupt. This value will
192 * to note that most interrupt controllers require that the nested
255 /* If not nested: switch to IRQ stack and save current sp on it. */
314 * Enable and disable interrupts again to allow nested in exception handlers.
340 /* Do not context switch if exiting a nested interrupt */
345 * if (cpu interrupts are nested)
/Zephyr-latest/arch/xtensa/core/
Dvector_handlers.c47 * the same interrupt vector, both of them increase the nested in xtensa_is_outside_stack_bounds()
49 * moves execution to the interrupt stack when nested goes from in xtensa_is_outside_stack_bounds()
50 * zero to one. Afterwards, any nested interrupts/exceptions will in xtensa_is_outside_stack_bounds()
52 * nested > 1, then it was running in the interrupt stack, and in xtensa_is_outside_stack_bounds()
55 was_in_isr = arch_curr_cpu()->nested > 1; in xtensa_is_outside_stack_bounds()
275 return _current_cpu->nested <= 1 ? in return_to()
467 /* We are going to manipulate _current_cpu->nested manually. in xtensa_excint1_c()
472 * will affect the nested value as we are going outside of in xtensa_excint1_c()
475 * Setting nested to 1 has two effects: in xtensa_excint1_c()
480 * nested must be zero for normal code execution, in xtensa_excint1_c()
[all …]
/Zephyr-latest/boards/native/nrf_bsim/
Dcpu_wait.c32 * There may be wakes due to other interrupts or nested calls to in arch_busy_wait()
57 * There may be wakes due to other interrupts or nested calls to in posix_cpu_hold()
/Zephyr-latest/soc/st/stm32/stm32wbax/hci_if/
Dlinklayer_plat_adapt.c81 /* Check if nested SW radio low interrupt has been requested*/ in radio_low_prio_isr()
125 * Nested call far radio low isr are not supported in LINKLAYER_PLAT_TriggerSwLowIT()
129 /* No nested SW low ISR, default behavior */ in LINKLAYER_PLAT_TriggerSwLowIT()
137 /* Nested call detected */ in LINKLAYER_PLAT_TriggerSwLowIT()
/Zephyr-latest/dts/bindings/interrupt-controller/
Darm,v7m-nvic.yaml1 description: ARMv7-M NVIC (Nested Vectored Interrupt Controller)
Darm,v8m-nvic.yaml1 description: ARMv8-M NVIC (Nested Vectored Interrupt Controller)
Darm,v6m-nvic.yaml1 description: ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller
Darm,v8.1m-nvic.yaml1 description: ARMv8.1-M NVIC (Nested Vectored Interrupt Controller)
/Zephyr-latest/arch/mips/core/
Dirq_manage.c65 _current_cpu->nested++; in z_mips_enter_irq()
91 _current_cpu->nested--; in z_mips_enter_irq()
/Zephyr-latest/arch/x86/core/ia32/
Dintstub.S45 * _kernel.nested (to support interrupt nesting), switches to the
126 /* switch to the interrupt stack for the non-nested case */
130 /* use interrupt stack if not nested */
153 /* fall through to nested case */
209 /* determine whether exiting from a nested interrupt */
212 jne nestedInterrupt /* 'iret' if nested case */
296 * For the nested interrupt case, the interrupt stack must still be
/Zephyr-latest/tests/modules/nanopb/
DCMakeLists.txt15 proto/sub/nested.proto
/Zephyr-latest/arch/nios2/core/
Dirq_manage.c83 _kernel.cpus[0].nested++; in _enter_irq()
107 _kernel.cpus[0].nested--; in _enter_irq()
/Zephyr-latest/tests/kernel/interrupt/src/
Dnested_irq.c12 * Run the nested interrupt test for the supported platforms only.
111 /* Trigger nested IRQ 1 */ in isr0()
117 /* Validate nested ISR result token */ in isr0()
/Zephyr-latest/arch/arm64/include/
Dexception.h31 return arch_curr_cpu()->nested != 0U; in arch_is_in_isr()
/Zephyr-latest/arch/x86/include/
Dkernel_arch_func.h30 ret = arch_curr_cpu()->nested != 0; in arch_is_in_isr()
34 return _kernel.cpus[0].nested != 0U; in arch_is_in_isr()
/Zephyr-latest/arch/riscv/include/
Dkernel_arch_func.h88 bool ret = arch_curr_cpu()->nested != 0U; in arch_is_in_isr()
93 return _kernel.cpus[0].nested != 0U; in arch_is_in_isr()
/Zephyr-latest/dts/bindings/rtc/
Dst,stm32-rtc.yaml36 Not required, since RTC Alarm interrupt could be routed directly to Nested
/Zephyr-latest/arch/posix/include/
Dkernel_arch_func.h42 return _kernel.cpus[0].nested != 0U; in arch_is_in_isr()

12345678910>>...22