| /Zephyr-4.2.1/arch/x86/include/ia32/ |
| D | exception.h | 14 #define _EXCEPTION_INTLIST(vector, dpl) \ argument 15 ".pushsection .gnu.linkonce.intList.exc_" #vector "\n\t" \ 19 ".long " STRINGIFY(vector) "\n\t" /* ISR_LIST.vec */ \ 44 #define __EXCEPTION_CONNECT(handler, vector, dpl, codepush) \ argument 46 _EXCEPTION_INTLIST(vector, dpl) \ 47 ".pushsection .gnu.linkonce.t.exc_" STRINGIFY(vector) \ 49 ".global " STRINGIFY(_EXCEPTION_STUB_NAME(handler, vector)) "\n\t" \ 50 STRINGIFY(_EXCEPTION_STUB_NAME(handler, vector)) ":\n\t" \ 69 #define _EXCEPTION_CONNECT_NOCODE(handler, vector, dpl) \ argument 70 __EXCEPTION_CONNECT(handler, vector, dpl, "push $0\n\t") [all …]
|
| /Zephyr-4.2.1/arch/x86/core/intel64/ |
| D | irq.c | 52 int vector = prev_vector; in z_x86_allocate_vector() local 59 if (vector == -1) { in z_x86_allocate_vector() 60 vector = (priority * VECTORS_PER_PRIORITY) + IV_IRQS; in z_x86_allocate_vector() 63 for (i = 0; i < VECTORS_PER_PRIORITY; ++i, ++vector) { in z_x86_allocate_vector() 64 if (prev_vector != 1 && vector == prev_vector) { in z_x86_allocate_vector() 69 if (vector == CONFIG_IRQ_OFFLOAD_VECTOR) { in z_x86_allocate_vector() 73 if (vector == Z_X86_OOPS_VECTOR) { in z_x86_allocate_vector() 77 if (x86_irq_funcs[vector - IV_IRQS] == irq_spurious) { in z_x86_allocate_vector() 78 return vector; in z_x86_allocate_vector() 86 uint8_t vector, in z_x86_irq_connect_on_vector() argument [all …]
|
| D | fatal.c | 24 switch (esf->vector) { in z_x86_exception() 33 z_x86_unhandled_cpu_exception(esf->vector, esf); in z_x86_exception() 38 z_x86_unhandled_cpu_exception(esf->vector, esf); in z_x86_exception()
|
| /Zephyr-4.2.1/arch/x86/core/ia32/ |
| D | fatal.c | 35 int vector = z_irq_controller_isr_vector_get(); in z_x86_spurious_irq() local 37 if (vector >= 0) { in z_x86_spurious_irq() 38 EXCEPTION_DUMP("IRQ vector: %d", vector); in z_x86_spurious_irq() 68 FUNC_NORETURN static void generic_exc_handle(unsigned int vector, in generic_exc_handle() argument 72 z_x86_exception_vector = vector; in generic_exc_handle() 75 z_x86_unhandled_cpu_exception(vector, pEsf); in generic_exc_handle() 78 #define _EXC_FUNC(vector) \ argument 80 FUNC_NORETURN __used static void handle_exc_##vector(const struct arch_esf *pEsf) \ 82 generic_exc_handle(vector, pEsf); \ 85 #define Z_EXC_FUNC_CODE(vector, dpl) \ argument [all …]
|
| D | irq_manage.c | 128 unsigned int vector; in priority_to_free_vector() local 176 vector = (entry << 5) + fsb; in priority_to_free_vector() 178 return vector; in priority_to_free_vector() 211 static void idt_vector_install(int vector, void *irq_handler) in idt_vector_install() argument 216 z_init_irq_gate(&z_x86_idt.entries[vector], CODE_SEG, in idt_vector_install() 225 int vector, stub_idx, key; in arch_irq_connect_dynamic() local 229 vector = priority_to_free_vector(priority); in arch_irq_connect_dynamic() 233 _irq_to_interrupt_vector[irq] = vector; in arch_irq_connect_dynamic() 234 z_irq_controller_irq_config(vector, irq, flags); in arch_irq_connect_dynamic() 242 idt_vector_install(vector, get_dynamic_stub(stub_idx)); in arch_irq_connect_dynamic() [all …]
|
| /Zephyr-4.2.1/arch/x86/core/ |
| D | pcie.c | 176 msi_vector_t *vector, in pcie_msi_map() argument 184 if (vector != NULL && n_vector > 0) { in pcie_msi_map() 185 return vtd_remap_msi(vtd, vector, n_vector); in pcie_msi_map() 199 msi_vector_t *vector) in pcie_msi_mdr() argument 201 if (vector != NULL) { in pcie_msi_mdr() 207 if (vector->msix) { in pcie_msi_mdr() 208 return 0x4000U | vector->arch.vector; in pcie_msi_mdr() 223 int i, irq, vector; in arch_pcie_msi_vectors_allocate() local 272 vector = z_x86_allocate_vector(priority, prev_vector); in arch_pcie_msi_vectors_allocate() 273 if (vector < 0) { in arch_pcie_msi_vectors_allocate() [all …]
|
| /Zephyr-4.2.1/samples/modules/tflite-micro/tflm_ethosu/src/ |
| D | inference_process.hpp | 31 std::vector<DataPtr> input; 32 std::vector<DataPtr> output; 33 std::vector<DataPtr> expectedOutput; 37 const std::vector<DataPtr> &input, const std::vector<DataPtr> &output, 38 const std::vector<DataPtr> &expectedOutput);
|
| /Zephyr-4.2.1/drivers/virtualization/ |
| D | virt_ivshmem_shell.c | 35 int vector; in doorbell_notification_thread() local 39 k_poll_signal_check(&doorbell_sig, &signaled, &vector); in doorbell_notification_thread() 46 (unsigned int)vector); in doorbell_notification_thread() 124 int vector; in cmd_ivshmem_int() local 137 vector = strtol(argv[2], NULL, 10); in cmd_ivshmem_int() 139 ret = ivshmem_int_peer(ivshmem, (uint16_t)peer_id, (uint16_t)vector); in cmd_ivshmem_int() 143 peer_id, vector, ret); in cmd_ivshmem_int() 149 peer_id, vector); in cmd_ivshmem_int() 158 int vector; in cmd_ivshmem_get_notified() local 164 vector = strtol(argv[1], NULL, 10); in cmd_ivshmem_get_notified() [all …]
|
| D | virt_ivshmem_handlers.c | 38 uint32_t peer_id, uint16_t vector) in z_vrfy_ivshmem_int_peer() argument 42 return z_impl_ivshmem_int_peer(dev, peer_id, vector); in z_vrfy_ivshmem_int_peer() 48 uint16_t vector) in z_vrfy_ivshmem_register_handler() argument 53 return z_impl_ivshmem_register_handler(dev, signal, vector); in z_vrfy_ivshmem_register_handler()
|
| /Zephyr-4.2.1/include/zephyr/drivers/interrupt_controller/ |
| D | intel_vtd.h | 15 msi_vector_t *vector, 20 uint16_t vector, 26 uint16_t vector); 29 uint16_t vector); 90 msi_vector_t *vector, in vtd_remap_msi() argument 96 return api->remap_msi(dev, vector, n_vector); in vtd_remap_msi() 112 uint16_t vector, in vtd_remap() argument 119 return api->remap(dev, irte_idx, vector, flags, src_id); in vtd_remap() 133 uint16_t vector) in vtd_set_irte_vector() argument 138 return api->set_irte_vector(dev, irte_idx, vector); in vtd_set_irte_vector() [all …]
|
| D | ioapic.h | 43 void z_ioapic_int_vec_set(unsigned int irq, unsigned int vector); 44 void z_ioapic_irq_set(unsigned int irq, unsigned int vector, uint32_t flags);
|
| D | loapic.h | 66 void z_loapic_int_vec_set(unsigned int irq, unsigned int vector); 164 static inline void z_loapic_ipi(uint8_t apic_id, uint32_t ipi, uint8_t vector) in z_loapic_ipi() argument 166 ipi |= vector; in z_loapic_ipi()
|
| /Zephyr-4.2.1/arch/arc/core/ |
| D | fault.c | 274 static void dump_exception_info(uint32_t vector, uint32_t cause, uint32_t parameter) in dump_exception_info() argument 276 if (vector >= 0x10 && vector <= 0xFF) { in dump_exception_info() 277 EXCEPTION_DUMP("interrupt %u", vector); in dump_exception_info() 284 switch (vector) { in dump_exception_info() 350 uint32_t vector, cause, parameter; in z_arc_fault() local 366 vector = Z_ARC_V2_ECR_VECTOR(ecr); in z_arc_fault() 371 if (vector == ARC_EV_TRAP && parameter == _TRAP_S_CALL_RUNTIME_EXCEPT) { in z_arc_fault() 389 vector, cause, parameter); in z_arc_fault() 392 dump_exception_info(vector, cause, parameter); in z_arc_fault() 401 if (vector == ARC_EV_PROT_V && parameter & 0x2) { in z_arc_fault() [all …]
|
| /Zephyr-4.2.1/tests/lib/cpp/libcxx/src/ |
| D | main.cpp | 17 std::vector<int> vector; variable 33 zassert_equal(vector.size(), 0, "vector init nonzero"); in ZTEST() 35 vector.push_back(v); in ZTEST() 37 zassert_equal(vector.size(), array.size(), "vector store failed"); in ZTEST()
|
| /Zephyr-4.2.1/drivers/interrupt_controller/ |
| D | intc_system_apic.c | 46 void z_irq_controller_irq_config(unsigned int vector, unsigned int irq, in z_irq_controller_irq_config() argument 52 z_ioapic_irq_set(irq, vector, flags); in z_irq_controller_irq_config() 54 z_loapic_int_vec_set(irq - z_loapic_irq_base(), vector); in z_irq_controller_irq_config()
|
| D | Kconfig.loapic | 26 vector. Dispensing the spurious-interrupt vector does not affect 27 the ISR, so the handler for this vector should return without an EOI. 31 int "LOAPIC spurious vector ID" 35 IDT vector to use for spurious LOAPIC interrupts. Note that some
|
| D | intc_ioapic.c | 360 void z_ioapic_irq_set(unsigned int irq, unsigned int vector, uint32_t flags) argument 371 irte_idx = vtd_get_irte_by_vector(vtd, vector); 387 (vector & IOAPIC_VEC_MASK) | 392 vtd_remap(vtd, irte_idx, vector, flags, ioapic_id); 402 (vector & IOAPIC_VEC_MASK) | flags; 418 void z_ioapic_int_vec_set(unsigned int irq, unsigned int vector) argument 420 IoApicRedUpdateLo(irq, vector, IOAPIC_VEC_MASK);
|
| /Zephyr-4.2.1/include/zephyr/drivers/virtualization/ |
| D | ivshmem.h | 37 uint32_t peer_id, uint16_t vector); 41 uint16_t vector); 154 uint32_t peer_id, uint16_t vector); 157 uint32_t peer_id, uint16_t vector) in z_impl_ivshmem_int_peer() argument 162 return api->int_peer(dev, peer_id, vector); in z_impl_ivshmem_int_peer() 182 uint16_t vector); 186 uint16_t vector) in z_impl_ivshmem_register_handler() argument 191 return api->register_handler(dev, signal, vector); in z_impl_ivshmem_register_handler()
|
| /Zephyr-4.2.1/soc/st/stm32/stm32f0x/ |
| D | CMakeLists.txt | 4 # The vector table must be placed at the start of SRAM. 5 # Reserve the first sizeof(<vector table>) bytes for this purpose. 8 # but we have to compute the size of the vector table manually as 10 # Fortunately, the vector table size can be easily computed:
|
| /Zephyr-4.2.1/arch/arm/core/cortex_m/ |
| D | vector_table_pad.ld | 8 * Padding inserted after the (first-stage) vector table, so that the 11 * vector table section is higher than the upper end of the reserved 16 * first stage vector table.
|
| /Zephyr-4.2.1/tests/arch/arm/arm_irq_vector_table/ |
| D | irq-vector-table.ld | 6 * Some ARM platforms require this symbol to be placed after the IRQ vector 8 * arch/arm/core/vector_table.ld when the IRQ vector table is enabled.
|
| /Zephyr-4.2.1/arch/arm/ |
| D | Kconfig | 41 Relocates the rom_start region containing the boot-vector data and 46 such that it is able to load the correct boot-vector (contained in rom_start) 50 Most SOCs include an alias for the boot-vector at address 0x00000000 55 is not placed into the boot-vector memory area. 63 for code location. But the boot-vector must be placed into OCRAM_S for the 76 to the right memory region of the boot-vector. 79 -IMX7D the boot-vector is OCRAM_S (0x00180000, aliased at 0x0). 80 -IMX6SX the boot-vector is TCML (0x007F8000, aliased at 0x0). 81 -IMX8MQ the boot-vector is TCML (0x007E0000, aliased at 0x0). 82 -IMX8MN the boot-vector is ITCM (0x007E0000, aliased at 0x0). [all …]
|
| /Zephyr-4.2.1/include/zephyr/linker/ |
| D | irq-vector-table-section.ld | 9 * Some ARM platforms require this symbol to be placed after the IRQ vector 11 * arch/arm/core/vector_table.ld when the IRQ vector table is enabled.
|
| /Zephyr-4.2.1/include/zephyr/drivers/pcie/ |
| D | msi.h | 91 msi_vector_t *vector, 109 msi_vector_t *vector, 122 msi_vector_t *vector);
|
| /Zephyr-4.2.1/arch/x86/include/ |
| D | kernel_arch_func.h | 51 FUNC_NORETURN void z_x86_unhandled_cpu_exception(uintptr_t vector, 107 uint8_t vector,
|