diff options
author | Stefan Reinauer <stepan@openbios.org> | 2006-01-05 00:18:41 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2006-01-05 00:18:41 +0000 |
commit | f1c0fc7ff27832c52e1a3305ecb720ec9b29ce1b (patch) | |
tree | f4e8ca1abe6a522f2da464eb00e3b857fc2fd367 /src/mainboard/agami/aruma/mptable.c | |
parent | 0571a95262be0d58dc28a3f0fba2c69dc543b018 (diff) |
latest agami/aruma changes. Compiles but won't boot yet
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2154 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/agami/aruma/mptable.c')
-rw-r--r-- | src/mainboard/agami/aruma/mptable.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mainboard/agami/aruma/mptable.c b/src/mainboard/agami/aruma/mptable.c index b598a79524..37776cfa03 100644 --- a/src/mainboard/agami/aruma/mptable.c +++ b/src/mainboard/agami/aruma/mptable.c @@ -16,17 +16,7 @@ do { \ smp_write_ioapic(mc, id, version, res->base); \ } while(0); -unsigned get_apicid_base(unsigned ioapic_num) -{ - device_t dev; - unsigned apicid_base; - - dev = dev_find_slot(0, PCI_DEVFN(0x18,0)); - apicid_base = ((pci_read_config32(dev, 0x60)>>4) & 7) + 1; - - return apicid_base; -} - +unsigned get_apicid_base(unsigned ioapic_num); void *smp_write_config_table(void *v) { |