![]() |
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 | pirq_struct |
Macros | |
#define | PCI_INTR_INDEX 0xc00 |
#define | PCI_INTR_DATA 0xc01 |
Functions | |
u8 | read_pci_int_idx (u8 index, int mode) |
void | write_pci_int_idx (u8 index, int mode, u8 data) |
void | write_pci_cfg_irqs (void) |
void | write_pci_int_table (void) |
Variables | |
const struct pirq_struct * | pirq_data_ptr |
u32 | pirq_data_size |
const u8 * | intr_data_ptr |
const u8 * | picr_data_ptr |
#define PCI_INTR_DATA 0xc01 |
Definition at line 11 of file amd_pci_util.h.
#define PCI_INTR_INDEX 0xc00 |
Definition at line 10 of file amd_pci_util.h.
Definition at line 20 of file amd_pci_util.c.
References inb(), outb(), PCI_INTR_DATA, and PCI_INTR_INDEX.
Referenced by write_pci_cfg_irqs(), and write_pci_int_table().
Definition at line 84 of file amd_pci_util.c.
References all_devices, BIOS_DEBUG, BIOS_ERR, BIOS_SPEW, BIOS_WARNING, pci_path::devfn, FCH_INT_TABLE_SIZE, get_pci_irq_pins(), i8259_configure_irq_trigger(), intr_types, IRQ_LEVEL_TRIGGERED, device::next, NULL, device::path, device_path::pci, PCI_INTERRUPT_LINE, PCI_INTERRUPT_PIN, pci_read_config8(), pci_write_config8(), pirq_struct::PIN, pin_to_str(), pirq_data_ptr, pirq_data_size, PIRQ_NC, printk, and read_pci_int_idx().
Definition at line 30 of file amd_pci_util.c.
References outb(), PCI_INTR_DATA, and PCI_INTR_INDEX.
Referenced by write_pci_int_table().
Definition at line 41 of file amd_pci_util.c.
References BIOS_DEBUG, BIOS_ERR, FCH_INT_TABLE_SIZE, intr_data_ptr, intr_types, NULL, picr_data_ptr, printk, read_pci_int_idx(), and write_pci_int_idx().
|
extern |
Definition at line 13 of file amd_pci_util.c.
Referenced by write_pci_int_table().
|
extern |
Definition at line 14 of file amd_pci_util.c.
Referenced by write_pci_int_table().
|
extern |
Definition at line 11 of file amd_pci_util.c.
Referenced by write_pci_cfg_irqs().
|
extern |
Definition at line 12 of file amd_pci_util.c.
Referenced by write_pci_cfg_irqs().