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