coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/ioapic.h>
#include <arch/smp/mpspec.h>
#include <string.h>
#include <southbridge/amd/common/amd_pci_util.h>
#include <southbridge/amd/agesa/hudson/hudson.h>
Go to the source code of this file.
Macros | |
#define | IO_LOCAL_INT(type, intr, apicid, pin) |
#define | PCI_INT(bus, dev, int_sign, pin) |
Functions | |
static void | smp_add_mpc_entry (struct mp_config_table *mc, unsigned int length) |
static void | my_smp_write_bus (struct mp_config_table *mc, unsigned char id, const char *bustype) |
static void * | smp_write_config_table (void *v) |
unsigned long | write_smp_table (unsigned long addr) |
#define IO_LOCAL_INT | ( | type, | |
intr, | |||
apicid, | |||
pin | |||
) |
#define PCI_INT | ( | bus, | |
dev, | |||
int_sign, | |||
pin | |||
) |
|
static |
Definition at line 15 of file mptable.c.
References memcpy(), memset(), MP_BUS, mpc_config_bus::mpc_busid, mpc_config_bus::mpc_bustype, mpc_config_bus::mpc_type, smp_add_mpc_entry(), and smp_next_mpc_entry().
Referenced by smp_write_config_table().
|
static |
Definition at line 9 of file mptable.c.
References length, mp_config_table::mpc_entry_count, and mp_config_table::mpc_length.
Referenced by my_smp_write_bus().
Definition at line 27 of file mptable.c.
References device::enabled, intr_data_ptr, IO_LOCAL_INT, device::link_list, memcpy(), MP_APIC_ALL, mp_ExtINT, mp_NMI, mp_config_table::mpc_oem, mptable_add_isa_interrupts(), mptable_finalize(), mptable_init(), my_smp_write_bus(), PCI_INT, pcidev_on_root(), bus::secondary, SMP_FLOATING_TABLE_LEN, smp_write_ioapic_from_hw(), smp_write_processors(), and VIO_APIC_VADDR.
Referenced by write_smp_table().
Definition at line 128 of file mptable.c.
References addr, smp_write_config_table(), and smp_write_floating_table().