1/* 2 * Copyright (c) 2021 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#ifdef CONFIG_DYNAMIC_INTERRUPTS 8 . = ALIGN(4); 9 _irq_to_interrupt_vector = .; 10#ifdef LINKER_ZEPHYR_FINAL 11 KEEP(*(irq_int_vector_map)) 12#else 13 . += CONFIG_MAX_IRQ_LINES; 14#endif /* LINKER_ZEPHYR_FINAL */ 15 16 z_interrupt_vectors_allocated = .; 17#ifdef LINKER_ZEPHYR_FINAL 18 KEEP(*(irq_vectors_alloc)) 19#else 20 . += (CONFIG_IDT_NUM_VECTORS + 7) / 8; 21#endif /* LINKER_ZEPHYR_FINAL */ 22#endif /* CONFIG_DYNAMIC_INTERRUPTS */ 23