![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | slot_irq_constraints |
struct | pci_irq_entry |
Macros | |
#define | MAX_FNS 8 |
#define | INVALID_IRQ -1 |
#define | ANY_PIRQ(x) |
#define | DIRECT_IRQ(x) |
#define | FIXED_INT_ANY_PIRQ(x, pin) |
#define | FIXED_INT_PIRQ(x, pin, pirq) |
Functions | |
bool | assign_pci_irqs (const struct slot_irq_constraints *constraints, size_t num_slots) |
bool | generate_pin_irq_map (void) |
bool | irq_program_non_pch (void) |
const struct pci_irq_entry * | get_cached_pci_irqs (void) |
int | get_pci_devfn_irq (unsigned int devfn) |
#define ANY_PIRQ | ( | x | ) |
#define DIRECT_IRQ | ( | x | ) |
#define FIXED_INT_ANY_PIRQ | ( | x, | |
pin | |||
) |
bool assign_pci_irqs | ( | const struct slot_irq_constraints * | constraints, |
size_t | num_slots | ||
) |
Definition at line 328 of file irq.c.
References assign_slot(), BIOS_INFO, cached_entries, pci_irq_entry::devfn, pci_irq_entry::irq, pci_irq_entry::next, PCI_FUNC, PCI_SLOT, pci_irq_entry::pin, pin_to_str(), and printk.
Referenced by fill_fsps_irq_params(), and platform_fsp_silicon_init_params_cb().
Definition at line 365 of file irq.c.
References slot_pin_irq_map::apic_gsi, cached_entries, calloc(), free(), pic_pirq_map::gsi, intel_write_pci0_PRT(), irq_to_pirq(), is_slot_pin_assigned(), lpc_get_pic_pirq_routing(), MAX_SLOTS, PCI_INT_MAX, PCI_SLOT, slot_pin_irq_map::pic_pirq, slot_pin_irq_map::pin, PIRQ_COUNT, PIRQ_GSI, slot_pin_irq_map::slot, and pic_pirq_map::type.
Referenced by cpu_fill_ssdt().
const struct pci_irq_entry* get_cached_pci_irqs | ( | void | ) |
Definition at line 347 of file irq.c.
References cached_entries.
Referenced by pci_irq_to_fsp().
int get_pci_devfn_irq | ( | unsigned int | devfn | ) |
Definition at line 433 of file irq.c.
References cached_entries, pci_irq_entry::devfn, INVALID_IRQ, pci_irq_entry::irq, and pci_irq_entry::next.
Definition at line 407 of file irq.c.
References cached_entries, pci_irq_entry::devfn, pci_irq_entry::irq, MIN_PCH_SLOT, pci_irq_entry::next, PCI_DEV, PCI_FUNC, PCI_INTERRUPT_LINE, PCI_INTERRUPT_PIN, pci_s_write_config8(), PCI_SLOT, and pci_irq_entry::pin.