![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/pci.h>
#include <arch/io.h>
#include <device/pci_ops.h>
#include "amd_pci_util.h"
#include <pc80/i8259.h>
#include "amd_pci_int_defs.h"
#include "amd_pci_int_types.h"
Go to the source code of this file.
Functions | |
u8 | read_pci_int_idx (u8 index, int mode) |
void | write_pci_int_idx (u8 index, int mode, u8 data) |
void | write_pci_int_table (void) |
void | write_pci_cfg_irqs (void) |
Variables | |
const struct pirq_struct * | pirq_data_ptr = NULL |
u32 | pirq_data_size = 0 |
const u8 * | intr_data_ptr = NULL |
const u8 * | picr_data_ptr = NULL |
Definition at line 21 of file amd_pci_util.c.
References inb(), outb(), PCI_INTR_DATA, and PCI_INTR_INDEX.
Definition at line 80 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(), irq_idx_name::index, intr_types, IRQ_LEVEL_TRIGGERED, name, 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, read_pci_int_idx(), and sb_get_apic_reg_association().
Referenced by set_pci_irqs().
Definition at line 31 of file amd_pci_util.c.
References outb(), PCI_INTR_DATA, and PCI_INTR_INDEX.
Definition at line 42 of file amd_pci_util.c.
References BIOS_DEBUG, BIOS_ERR, FCH_INT_TABLE_SIZE, irq_idx_name::index, intr_data_ptr, intr_types, name, NULL, picr_data_ptr, printk, read_pci_int_idx(), sb_get_apic_reg_association(), and write_pci_int_idx().
Referenced by set_pci_irqs().
Definition at line 14 of file amd_pci_util.c.
Referenced by pirq_setup(), and smp_write_config_table().
Definition at line 15 of file amd_pci_util.c.
Referenced by pirq_setup().
const struct pirq_struct* pirq_data_ptr = NULL |
Definition at line 12 of file amd_pci_util.c.
Referenced by pirq_setup(), and populate_pirq_data().
u32 pirq_data_size = 0 |
Definition at line 13 of file amd_pci_util.c.
Referenced by pirq_setup(), and populate_pirq_data().