zephyr/include/linker
Johan Hedberg 9e4dfd8f4e drivers: pcie: Add support for IRQ allocation management
There are x86 platforms where the IRQ configuration register for PCIe
is not pre-populated and the OS needs to assign a number dynamically
by writing to the register.

In order to allocate interrupts we have to know which ones have been
hard-coded in device tree. We accomplish this by collecting these
values through the IRQ_CONNECT() macro and placing them in a dedicated
linker section (in ROM).

The full set of allocated interrupts are managed through a bitmap, and
the pre-allocated values (from the linker section) are inserted into
this upon initial runtime access.

This patch introduces a new pcie_alloc_irq() API that drivers can use
to allocate interrupt line numbers. The two in-tree drivers that were
using this API (I2C and UART) are converted to use the new API.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2020-11-14 11:13:00 +02:00
..
app_smem_aligned.ld
app_smem_unaligned.ld
app_smem.ld
common-noinit.ld
common-ram.ld
common-rom.ld drivers: pcie: Add support for IRQ allocation management 2020-11-14 11:13:00 +02:00
cplusplus-ram.ld
cplusplus-rom.ld
debug-sections.ld
intlist.ld
kobject-rom.ld
kobject-text.ld
kobject.ld
linker-defs.h linker: add linker sections for thread local storage 2020-10-24 10:52:00 -07:00
linker-tool-gcc.h sparc: Add compiler and linker tool support 2020-11-13 14:53:55 -08:00
linker-tool-mwdt.h
linker-tool.h
rel-sections.ld
section_tags.h kernel: Add cache coherence management framework 2020-10-21 06:38:53 -04:00
sections.h
thread-local-storage.ld linker: add linker sections for thread local storage 2020-10-24 10:52:00 -07:00