Following uid313's instructions from
http://ubuntuforums.org/showthread.php?t=961975
/* This file was generated by getpir.c, do not modify!
 * (but if you do, please run checkpir on it to verify)
 *
 * Contains the IRQ Routing Table dumped directly from your
 * memory, which BIOS sets up.
 *
 * Documentation at: http://www.microsoft.com/whdc/archive/pciirq.mspx
 */

#ifdef GETPIR
#include "pirq_routing.h"
#else
#include <arch/pirq_routing.h>
#endif

const struct irq_routing_table intel_irq_routing_table = {
	PIRQ_SIGNATURE,  /* u32 signature */
	PIRQ_VERSION,    /* u16 version   */
	32+16*12,	 /* There can be total 12 devices on the bus */
	0x00,		 /* Where the interrupt router lies (bus) */
	(0x1f<<3)|0x0,   /* Where the interrupt router lies (dev) */
	0,		 /* IRQs devoted exclusively to PCI usage */
	0x8086,		 /* Vendor */
	0x122e,		 /* Device */
	0,		 /* Crap (miniport) */
	{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */
	0x40,		 /* u8 checksum. This has to be set to some
			    value that would give 0 after the sum of all
			    bytes for this structure (including checksum) */
	{
		/* bus,     dev|fn,   {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap},  slot, rfu */
		{0x00,(0x00<<3)|0x0, {{0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x07<<3)|0x0, {{0x60, 0x0c40}, {0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x01<<3)|0x0, {{0x60, 0x0c40}, {0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x02<<3)|0x0, {{0x60, 0x0c40}, {0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x1b<<3)|0x0, {{0x6a, 0x0c40}, {0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x1c<<3)|0x0, {{0x60, 0x0c40}, {0x61, 0x0c40}, {0x62, 0x0c40}, {0x63, 0x00c40}}, 0x0, 0x0},
		{0x0c,(0x00<<3)|0x0, {{0x60, 0x0c40}, {0x61, 0x0c40}, {0x62, 0x0c40}, {0x63, 0x00c40}}, 0x0, 0x0},
		{0x00,(0x1d<<3)|0x0, {{0x6b, 0x0c40}, {0x63, 0x0c40}, {0x62, 0x0c40}, {0x60, 0x00c40}}, 0x0, 0x0},
		{0x00,(0x1e<<3)|0x0, {{0x6a, 0x0c40}, {0x68, 0x0c40}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x1f<<3)|0x0, {{0x62, 0x0c40}, {0x63, 0x0c40}, {0x00, 0xdef8}, {0x60, 0x00c40}}, 0x0, 0x0},
		{0x0a,(0x09<<3)|0x0, {{0x68, 0x0c40}, {0x69, 0x0c40}, {0x6a, 0x0c40}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x0b,(0x03<<3)|0x0, {{0x62, 0x0c40}, {0x63, 0x0c40}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
	}
};

unsigned long write_pirq_routing_table(unsigned long addr)
{
	return copy_pirq_routing_table(addr);
}
# dmidecode 2.9
SMBIOS 2.4 present.
34 structures occupying 1108 bytes.
Table at 0x000DF810.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: Acer   
        Version: v1.3216
        Release Date: 10/27/06
        Address: 0xE6BC0
        Runtime Size: 103488 bytes
        ROM Size: 1024 kB
        Characteristics:
                ISA is supported
                PCI is supported
                PC Card (PCMCIA) is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                ESCD support is available
                Boot from CD is supported
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Targeted content distribution is supported

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: Acer, inc.
        Product Name: Aspire 3680     
        Version: Not Applicable
        Serial Number: LXAEP051066460E5062513
        UUID: 407F4DE2-BD04-D911-8914-001636AB65A6
        Wake-up Type: Power Switch
        SKU Number: Not Specified
        Family: Not Specified

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
        Manufacturer: Acer, Inc.
        Product Name: Prespa1         
        Version: Not Applicable
        Serial Number: LXAEP051066460E5062513

Handle 0x0003, DMI type 3, 17 bytes
Chassis Information
        Manufacturer: Acer, Inc.
        Type: Other
        Lock: Not Present
        Version: N/A
        Serial Number: None
        Asset Tag:                                  
        Boot-up State: Safe
        Power Supply State: Safe
        Thermal State: Safe
        Security Status: None
        OEM Information: 0x00001234

Handle 0x0004, DMI type 4, 35 bytes
Processor Information
        Socket Designation: U2E1
        Type: Central Processor
        Family: Other
        Manufacturer: Intel
        ID: E8 06 00 00 FF FB E9 AF
        Version: Intel(R) Celeron(R) M CPU        
        Voltage: 3.3 V
        External Clock: 133 MHz
        Max Speed: 1600 MHz
        Current Speed: 1600 MHz
        Status: Populated, Enabled
        Upgrade: ZIF Socket
        L1 Cache Handle: 0x0005
        L2 Cache Handle: 0x0006
        L3 Cache Handle: Not Provided
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
        Socket Designation: L1 Cache
        Configuration: Enabled, Socketed, Level 1
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 16 KB
        Maximum Size: 16 KB
        Supported SRAM Types:
                Burst
                Pipeline Burst
                Asynchronous
        Installed SRAM Type: Asynchronous
        Speed: Unknown
        Error Correction Type: Unknown
        System Type: Unknown
        Associativity: Unknown

Handle 0x0006, DMI type 7, 19 bytes
Cache Information
        Socket Designation: L2 Cache
        Configuration: Enabled, Socketed, Level 2
        Operational Mode: Write Back
        Location: External
        Installed Size: 1024 KB
        Maximum Size: 512 KB
        Supported SRAM Types:
                Burst
                Pipeline Burst
                Asynchronous
        Installed SRAM Type: Burst
        Speed: Unknown
        Error Correction Type: Unknown
        System Type: Unknown
        Associativity: Unknown

Handle 0x0007, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J19
        Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
        External Reference Designator: COM 1
        External Connector Type: DB-9 male
        Port Type: Serial Port 16550A Compatible

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J23
        Internal Connector Type: 25 Pin Dual Inline (pin 26 cut)
        External Reference Designator: Parallel
        External Connector Type: DB-25 female
        Port Type: Parallel Port ECP/EPP

Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J11
        Internal Connector Type: None
        External Reference Designator: Keyboard
        External Connector Type: Circular DIN-8 male
        Port Type: Keyboard Port

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J12
        Internal Connector Type: None
        External Reference Designator: PS/2 Mouse
        External Connector Type: Circular DIN-8 male
        Port Type: Keyboard Port

Handle 0x000B, DMI type 9, 13 bytes
System Slot Information
        Designation: PCI Slot J11
        Type: 32-bit PCI
        Current Usage: Unknown
        Length: Long
        ID: 0
        Characteristics:
                5.0 V is provided
                3.3 V is provided

Handle 0x000C, DMI type 10, 6 bytes
On Board Device Information
        Type: Sound
        Status: Disabled
        Description: HD-Audio

Handle 0x000D, DMI type 11, 5 bytes
OEM Strings
        String 1: This is the Intel Calistoga
        String 2: Chipset CRB Platform

Handle 0x000E, DMI type 12, 5 bytes
System Configuration Options
        Option 1: Jumper settings can be described here.

Handle 0x000F, DMI type 15, 29 bytes
System Event Log
        Area Length: 16 bytes
        Header Start Offset: 0x0000
        Header Length: 16 bytes
        Data Start Offset: 0x0010
        Access Method: General-purpose non-volatile data functions
        Access Address: 0x0000
        Status: Valid, Not Full
        Change Token: 0x00000001
        Header Format: Type 1
        Supported Log Type Descriptors: 3
        Descriptor 1: POST error
        Data Format 1: POST results bitmap
        Descriptor 2: Single-bit ECC memory error
        Data Format 2: Multiple-event
        Descriptor 3: Multi-bit ECC memory error
        Data Format 3: Multiple-event

Handle 0x0010, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 4 GB
        Error Information Handle: Not Provided
        Number Of Devices: 2

Handle 0x0011, DMI type 17, 27 bytes
Memory Device
        Array Handle: 0x0010
        Error Information Handle: No Error
        Total Width: 32 bits
        Data Width: 32 bits
        Size: 512 MB
        Form Factor: SODIMM
        Set: 1
        Locator: M1
        Bank Locator: Bank 0
        Type: DDR2
        Type Detail: Synchronous
        Speed: Unknown
        Manufacturer: Not Specified
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified

Handle 0x0012, DMI type 17, 27 bytes
Memory Device
        Array Handle: 0x0010
        Error Information Handle: No Error
        Total Width: 32 bits
        Data Width: 32 bits
        Size: 512 MB
        Form Factor: SODIMM
        Set: 1
        Locator: M2
        Bank Locator: Bank 1
        Type: DDR2
        Type Detail: Synchronous
        Speed: Unknown
        Manufacturer: Not Specified
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified

Handle 0x0013, DMI type 19, 15 bytes
Memory Array Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0003FFFFFFF
        Range Size: 1 GB
        Physical Array Handle: 0x0010
        Partition Width: 0

Handle 0x0014, DMI type 20, 19 bytes
Memory Device Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0001FFFFFFF
        Range Size: 512 MB
        Physical Device Handle: 0x0011
        Memory Array Mapped Address Handle: 0x0013
        Partition Row Position: Unknown
        Interleave Position: Unknown
        Interleaved Data Depth: Unknown

Handle 0x0015, DMI type 20, 19 bytes
Memory Device Mapped Address
        Starting Address: 0x00020000000
        Ending Address: 0x0003FFFFFFF
        Range Size: 512 MB
        Physical Device Handle: 0x0012
        Memory Array Mapped Address Handle: 0x0013
        Partition Row Position: Unknown
        Interleave Position: Unknown
        Interleaved Data Depth: Unknown

Handle 0x0016, DMI type 23, 13 bytes
System Reset
        Status: Enabled
        Watchdog Timer: Present
        Boot Option: Do Not Reboot
        Boot Option On Limit: Do Not Reboot
        Reset Count: Unknown
        Reset Limit: Unknown
        Timer Interval: Unknown
        Timeout: Unknown

Handle 0x0017, DMI type 24, 5 bytes
Hardware Security
        Power-On Password Status: Enabled
        Keyboard Password Status: Unknown
        Administrator Password Status: Enabled
        Front Panel Reset Status: Unknown

Handle 0x0018, DMI type 25, 9 bytes
        System Power Controls
        Next Scheduled Power-on: 12-31 23:59:59

Handle 0x0019, DMI type 26, 20 bytes
Voltage Probe
        Description: Voltage Probe
        Location: Processor
        Status: OK
        Maximum Value: Unknown
        Minimum Value: Unknown
        Resolution: Unknown
        Tolerance: Unknown
        Accuracy: Unknown
        OEM-specific Information: 0x00000000

Handle 0x001A, DMI type 27, 12 bytes
Cooling Device
        Temperature Probe Handle: 0x001B
        Type: Fan
        Status: OK
        OEM-specific Information: 0x00000000

Handle 0x001B, DMI type 28, 20 bytes
Temperature Probe
        Description: Temperature Probe
        Location: Processor
        Status: OK
        Maximum Value: Unknown
        Minimum Value Unknown
        Resolution: Unknown
        Tolerance: Unknown
        Accuracy: Unknown
        OEM-specific Information: 0x00000000

Handle 0x001C, DMI type 29, 20 bytes
Electrical Current Probe
        Description: Electrical Current Probe
        Location: Processor
        Status: OK
        Maximum Value: Unknown
        Minimum Value: Unknown
        Resolution: Unknown
        Tolerance: Unknown
        Accuracy: Unknown
        OEM-specific Information: 0x00000000

Handle 0x001D, DMI type 30, 6 bytes
Out-of-band Remote Access
        Manufacturer Name: Intel
        Inbound Connection: Enabled
        Outbound Connection: Disabled

Handle 0x001E, DMI type 32, 20 bytes
System Boot Information
        Status: <OUT OF SPEC>

Handle 0x001F, DMI type 129, 16 bytes
OEM-specific Type
        Header and Data:
                81 10 1F 00 01 01 02 01 00 00 00 01 00 00 08 01
        Strings:
                Intel_ASF_001
                Intel_ASF_001

Handle 0x0020, DMI type 136, 6 bytes
OEM-specific Type
        Header and Data:
                88 06 20 00 FF FF

Handle 0x0021, DMI type 127, 4 bytes
End Of Table

# dmidecode 2.9
SMBIOS 2.4 present.
34 structures occupying 1108 bytes.
Table at 0x000DF810.

Handle 0x0000, DMI type 0, 24 bytes
        Header and Data:
                00 18 00 00 01 02 BC E6 03 0F 90 DB 00 00 00 00
                00 00 03 05 FF FF FF FF
        Strings:
                41 63 65 72 20 20 20 00
                "Acer   "
                76 31 2E 33 32 31 36 00
                "v1.3216"
                31 30 2F 32 37 2F 30 36 00
                "10/27/06"

Handle 0x0001, DMI type 1, 27 bytes
        Header and Data:
                01 1B 01 00 01 02 03 04 40 7F 4D E2 BD 04 D9 11
                89 14 00 16 36 AB 65 A6 06 00 00
        Strings:
                41 63 65 72 2C 20 69 6E 63 2E 00
                "Acer, inc."
                41 73 70 69 72 65 20 33 36 38 30 20 20 20 20 20
                00
                "Aspire 3680     "
                4E 6F 74 20 41 70 70 6C 69 63 61 62 6C 65 00
                "Not Applicable"
                4C 58 41 45 50 30 35 31 30 36 36 34 36 30 45 35
                30 36 32 35 31 33 00
                "LXAEP051066460E5062513"

Handle 0x0002, DMI type 2, 8 bytes
        Header and Data:
                02 08 02 00 01 02 03 04
        Strings:
                41 63 65 72 2C 20 49 6E 63 2E 00
                "Acer, Inc."
                50 72 65 73 70 61 31 20 20 20 20 20 20 20 20 20
                00
                "Prespa1         "
                4E 6F 74 20 41 70 70 6C 69 63 61 62 6C 65 00
                "Not Applicable"
                4C 58 41 45 50 30 35 31 30 36 36 34 36 30 45 35
                30 36 32 35 31 33 00
                "LXAEP051066460E5062513"

Handle 0x0003, DMI type 3, 17 bytes
        Header and Data:
                03 11 03 00 01 01 02 03 04 03 03 03 03 34 12 00
                00
        Strings:
                41 63 65 72 2C 20 49 6E 63 2E 00
                "Acer, Inc."
                4E 2F 41 00
                "N/A"
                4E 6F 6E 65 00
                "None"
                20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
                20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
                20 00
                "                                 "

Handle 0x0004, DMI type 4, 35 bytes
        Header and Data:
                04 23 04 00 01 03 01 02 E8 06 00 00 FF FB E9 AF
                03 02 85 00 40 06 40 06 41 04 05 00 06 00 FF FF
                00 00 00
        Strings:
                55 32 45 31 00
                "U2E1"
                49 6E 74 65 6C 00
                "Intel"
                49 6E 74 65 6C 28 52 29 20 43 65 6C 65 72 6F 6E
                28 52 29 20 4D 20 43 50 55 20 20 20 20 20 20 20
                20 00
                "Intel(R) Celeron(R) M CPU        "

Handle 0x0005, DMI type 7, 19 bytes
        Header and Data:
                07 13 05 00 01 88 01 10 00 10 00 58 00 40 00 00
                02 02 02
        Strings:
                4C 31 20 43 61 63 68 65 00
                "L1 Cache"

Handle 0x0006, DMI type 7, 19 bytes
        Header and Data:
                07 13 06 00 01 A9 01 00 02 00 04 58 00 08 00 00
                02 02 02
        Strings:
                4C 32 20 43 61 63 68 65 00
                "L2 Cache"

Handle 0x0007, DMI type 8, 9 bytes
        Header and Data:
                08 09 07 00 01 18 02 08 09
        Strings:
                4A 31 39 00
                "J19"
                43 4F 4D 20 31 00
                "COM 1"

Handle 0x0008, DMI type 8, 9 bytes
        Header and Data:
                08 09 08 00 01 19 02 05 05
        Strings:
                4A 32 33 00
                "J23"
                50 61 72 61 6C 6C 65 6C 00
                "Parallel"

Handle 0x0009, DMI type 8, 9 bytes
        Header and Data:
                08 09 09 00 01 00 02 14 0D
        Strings:
                4A 31 31 00
                "J11"
                4B 65 79 62 6F 61 72 64 00
                "Keyboard"

Handle 0x000A, DMI type 8, 9 bytes
        Header and Data:
                08 09 0A 00 01 00 02 14 0D
        Strings:
                4A 31 32 00
                "J12"
                50 53 2F 32 20 4D 6F 75 73 65 00
                "PS/2 Mouse"

Handle 0x000B, DMI type 9, 13 bytes
        Header and Data:
                09 0D 0B 00 01 06 05 02 04 00 00 06 00
        Strings:
                50 43 49 20 53 6C 6F 74 20 4A 31 31 00
                "PCI Slot J11"

Handle 0x000C, DMI type 10, 6 bytes
        Header and Data:
                0A 06 0C 00 07 01
        Strings:
                48 44 2D 41 75 64 69 6F 00
                "HD-Audio"

Handle 0x000D, DMI type 11, 5 bytes
        Header and Data:
                0B 05 0D 00 02
        Strings:
                54 68 69 73 20 69 73 20 74 68 65 20 49 6E 74 65
                6C 20 43 61 6C 69 73 74 6F 67 61 00
                "This is the Intel Calistoga"
                43 68 69 70 73 65 74 20 43 52 42 20 50 6C 61 74
                66 6F 72 6D 00
                "Chipset CRB Platform"

Handle 0x000E, DMI type 12, 5 bytes
        Header and Data:
                0C 05 0E 00 01
        Strings:
                4A 75 6D 70 65 72 20 73 65 74 74 69 6E 67 73 20
                63 61 6E 20 62 65 20 64 65 73 63 72 69 62 65 64
                20 68 65 72 65 2E 00
                "Jumper settings can be described here."

Handle 0x000F, DMI type 15, 29 bytes
        Header and Data:
                0F 1D 0F 00 10 00 00 00 10 00 04 01 01 00 00 00
                00 00 00 00 01 03 02 08 04 01 02 02 02

Handle 0x0010, DMI type 16, 15 bytes
        Header and Data:
                10 0F 10 00 03 03 03 00 00 40 00 FE FF 02 00

Handle 0x0011, DMI type 17, 27 bytes
        Header and Data:
                11 1B 11 00 10 00 FF FF 20 00 20 00 00 02 0D 01
                01 02 13 80 00 00 00 00 00 00 00
        Strings:
                4D 31 00
                "M1"
                42 61 6E 6B 20 30 00
                "Bank 0"

Handle 0x0012, DMI type 17, 27 bytes
        Header and Data:
                11 1B 12 00 10 00 FF FF 20 00 20 00 00 02 0D 01
                01 02 13 80 00 00 00 00 00 00 00
        Strings:
                4D 32 00
                "M2"
                42 61 6E 6B 20 31 00
                "Bank 1"

Handle 0x0013, DMI type 19, 15 bytes
        Header and Data:
                13 0F 13 00 00 00 00 00 FF FF 0F 00 10 00 02

Handle 0x0014, DMI type 20, 19 bytes
        Header and Data:
                14 13 14 00 00 00 00 00 FF FF 07 00 11 00 13 00
                FF FF FF

Handle 0x0015, DMI type 20, 19 bytes
        Header and Data:
                14 13 15 00 00 00 08 00 FF FF 0F 00 12 00 13 00
                FF FF FF

Handle 0x0016, DMI type 23, 13 bytes
        Header and Data:
                17 0D 16 00 3F FF FF FF FF FF FF FF FF

Handle 0x0017, DMI type 24, 5 bytes
        Header and Data:
                18 05 17 00 77

Handle 0x0018, DMI type 25, 9 bytes
        Header and Data:
                19 09 18 00 12 31 23 59 59

Handle 0x0019, DMI type 26, 20 bytes
        Header and Data:
                1A 14 19 00 01 63 00 80 00 80 00 80 00 80 00 80
                00 00 00 00
        Strings:
                56 6F 6C 74 61 67 65 20 50 72 6F 62 65 00
                "Voltage Probe"

Handle 0x001A, DMI type 27, 12 bytes
        Header and Data:
                1B 0C 1A 00 1B 00 63 00 00 00 00 00

Handle 0x001B, DMI type 28, 20 bytes
        Header and Data:
                1C 14 1B 00 01 63 00 80 00 80 00 80 00 80 00 80
                00 00 00 00
        Strings:
                54 65 6D 70 65 72 61 74 75 72 65 20 50 72 6F 62
                65 00
                "Temperature Probe"

Handle 0x001C, DMI type 29, 20 bytes
        Header and Data:
                1D 14 1C 00 01 63 00 80 00 80 00 80 00 80 00 80
                00 00 00 00
        Strings:
                45 6C 65 63 74 72 69 63 61 6C 20 43 75 72 72 65
                6E 74 20 50 72 6F 62 65 00
                "Electrical Current Probe"

Handle 0x001D, DMI type 30, 6 bytes
        Header and Data:
                1E 06 1D 00 01 01
        Strings:
                49 6E 74 65 6C 00
                "Intel"

Handle 0x001E, DMI type 32, 20 bytes
        Header and Data:
                20 14 1E 00 00 00 00 00 00 00 0C 01 02 03 04 05
                06 07 08 09

Handle 0x001F, DMI type 129, 16 bytes
        Header and Data:
                81 10 1F 00 01 01 02 01 00 00 00 01 00 00 08 01
        Strings:
                49 6E 74 65 6C 5F 41 53 46 5F 30 30 31 00
                "Intel_ASF_001"
                49 6E 74 65 6C 5F 41 53 46 5F 30 30 31 00
                "Intel_ASF_001"

Handle 0x0020, DMI type 136, 6 bytes
        Header and Data:
                88 06 20 00 FF FF

Handle 0x0021, DMI type 127, 4 bytes
        Header and Data:
                7F 04 21 00

3680
    description: Computer
    product: Aspire 3680
    vendor: Acer, inc.
    version: Not Applicable
    serial: LXAEP051066460E5062513
    width: 32 bits
    capabilities: smbios-2.4 dmi-2.4 smp-1.4 smp
    configuration: administrator_password=enabled boot=oem-specific cpus=1 
frontpanel_password=unknown keyboard_password=unknown power-on_password=enabled 
uuid=407F4DE2-BD04-D911-8914-001636AB65A6
  *-core
       description: Motherboard
       product: Prespa1
       vendor: Acer, Inc.
       physical id: 0
       version: Not Applicable
       serial: LXAEP051066460E5062513
     *-firmware
          description: BIOS
          vendor: Acer
          physical id: 0
          version: v1.3216 (10/27/06)
          size: 101KiB
          capacity: 960KiB
          capabilities: isa pci pcmcia pnp upgrade shadowing escd cdboot acpi 
usb biosbootspecification
     *-cpu
          description: CPU
          product: Intel(R) Celeron(R) M CPU        420  @ 1.60GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: [EMAIL PROTECTED]
          version: 6.14.8
          serial: 0000-06E8-0000-0000-0000-0000
          slot: U2E1
          size: 1600MHz
          capacity: 1600MHz
          width: 32 bits
          clock: 133MHz
          capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce 
cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe 
nx constant_tsc up arch_perfmon bts pni monitor tm2 xtpr
        *-cache:0
             description: L1 cache
             physical id: 5
             slot: L1 Cache
             size: 16KiB
             capacity: 16KiB
             capabilities: asynchronous internal write-back
        *-cache:1
             description: L2 cache
             physical id: 6
             slot: L2 Cache
             size: 1MiB
             capabilities: burst external write-back
     *-memory
          description: System Memory
          physical id: 10
          slot: System board or motherboard
          size: 1GiB
        *-bank:0
             description: SODIMM Synchronous
             physical id: 0
             slot: M1
             size: 512MiB
             width: 32 bits
        *-bank:1
             description: SODIMM Synchronous
             physical id: 1
             slot: M2
             size: 512MiB
             width: 32 bits
     *-pci
          description: Host bridge
          product: Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory 
Controller Hub
          vendor: Intel Corporation
          physical id: 100
          bus info: [EMAIL PROTECTED]:00:00.0
          version: 03
          width: 32 bits
          clock: 33MHz
          configuration: driver=agpgart-intel module=intel_agp
        *-display:0 UNCLAIMED
             description: VGA compatible controller
             product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics 
Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: [EMAIL PROTECTED]:00:02.0
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list
             configuration: latency=0
        *-display:1 UNCLAIMED
             description: Display controller
             product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated 
Graphics Controller
             vendor: Intel Corporation
             physical id: 2.1
             bus info: [EMAIL PROTECTED]:00:02.1
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: latency=0
        *-multimedia
             description: Audio device
             product: 82801G (ICH7 Family) High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: [EMAIL PROTECTED]:00:1b.0
             version: 02
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=HDA Intel latency=0 module=snd_hda_intel
        *-pci:0
             description: PCI bridge
             product: 82801G (ICH7 Family) PCI Express Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: [EMAIL PROTECTED]:00:1c.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master 
cap_list
             configuration: driver=pcieport-driver
           *-network
                description: Ethernet interface
                product: 88E8038 PCI-E Fast Ethernet Controller
                vendor: Marvell Technology Group Ltd.
                physical id: 0
                bus info: [EMAIL PROTECTED]:02:00.0
                logical name: eth0
                version: 14
                serial: 00:16:36:ab:65:a6
                capacity: 100MB/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm vpd msi pciexpress bus_master cap_list 
ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=sky2 
driverversion=1.20 firmware=N/A latency=0 link=no module=sky2 multicast=yes 
port=twisted pair
        *-pci:1
             description: PCI bridge
             product: 82801G (ICH7 Family) PCI Express Port 2
             vendor: Intel Corporation
             physical id: 1c.1
             bus info: [EMAIL PROTECTED]:00:1c.1
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master 
cap_list
             configuration: driver=pcieport-driver
        *-pci:2
             description: PCI bridge
             product: 82801G (ICH7 Family) PCI Express Port 3
             vendor: Intel Corporation
             physical id: 1c.2
             bus info: [EMAIL PROTECTED]:00:1c.2
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master 
cap_list
             configuration: driver=pcieport-driver
        *-pci:3
             description: PCI bridge
             product: 82801G (ICH7 Family) PCI Express Port 4
             vendor: Intel Corporation
             physical id: 1c.3
             bus info: [EMAIL PROTECTED]:00:1c.3
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master 
cap_list
             configuration: driver=pcieport-driver
        *-usb:0
             description: USB Controller
             product: 82801G (ICH7 Family) USB UHCI Controller #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: [EMAIL PROTECTED]:00:1d.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0 module=uhci_hcd
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 2.6.24-21-generic uhci_hcd
                physical id: 1
                bus info: [EMAIL PROTECTED]
                logical name: usb1
                version: 2.06
                capabilities: usb-1.10
                configuration: maxpower=0mA slots=2 speed=12.0MB/s
        *-usb:1
             description: USB Controller
             product: 82801G (ICH7 Family) USB UHCI Controller #2
             vendor: Intel Corporation
             physical id: 1d.1
             bus info: [EMAIL PROTECTED]:00:1d.1
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0 module=uhci_hcd
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 2.6.24-21-generic uhci_hcd
                physical id: 1
                bus info: [EMAIL PROTECTED]
                logical name: usb2
                version: 2.06
                capabilities: usb-1.10
                configuration: maxpower=0mA slots=2 speed=12.0MB/s
              *-usb UNCLAIMED
                   description: Generic USB device
                   product: Microsoft Wireless Desktop Receiver 3.1A
                   vendor: Microsft
                   physical id: 1
                   bus info: [EMAIL PROTECTED]:1
                   version: 0.02
                   capabilities: usb-2.00
                   configuration: maxpower=100mA speed=1.5MB/s
        *-usb:2
             description: USB Controller
             product: 82801G (ICH7 Family) USB UHCI Controller #3
             vendor: Intel Corporation
             physical id: 1d.2
             bus info: [EMAIL PROTECTED]:00:1d.2
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0 module=uhci_hcd
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 2.6.24-21-generic uhci_hcd
                physical id: 1
                bus info: [EMAIL PROTECTED]
                logical name: usb3
                version: 2.06
                capabilities: usb-1.10
                configuration: maxpower=0mA slots=2 speed=12.0MB/s
        *-usb:3
             description: USB Controller
             product: 82801G (ICH7 Family) USB UHCI Controller #4
             vendor: Intel Corporation
             physical id: 1d.3
             bus info: [EMAIL PROTECTED]:00:1d.3
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0 module=uhci_hcd
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 2.6.24-21-generic uhci_hcd
                physical id: 1
                bus info: [EMAIL PROTECTED]
                logical name: usb4
                version: 2.06
                capabilities: usb-1.10
                configuration: maxpower=0mA slots=2 speed=12.0MB/s
        *-usb:4
             description: USB Controller
             product: 82801G (ICH7 Family) USB2 EHCI Controller
             vendor: Intel Corporation
             physical id: 1d.7
             bus info: [EMAIL PROTECTED]:00:1d.7
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci_hcd latency=0 module=ehci_hcd
           *-usbhost
                product: EHCI Host Controller
                vendor: Linux 2.6.24-21-generic ehci_hcd
                physical id: 1
                bus info: [EMAIL PROTECTED]
                logical name: usb5
                version: 2.06
                capabilities: usb-2.00
                configuration: maxpower=0mA slots=8 speed=480.0MB/s
        *-pci:4
             description: PCI bridge
             product: 82801 Mobile PCI Bridge
             vendor: Intel Corporation
             physical id: 1e
             bus info: [EMAIL PROTECTED]:00:1e.0
             version: e2
             width: 32 bits
             clock: 33MHz
             capabilities: pci subtractive_decode bus_master cap_list
           *-network
                description: Wireless interface
                product: AR2413 802.11bg NIC
                vendor: Atheros Communications Inc.
                physical id: 3
                bus info: [EMAIL PROTECTED]:0a:03.0
                logical name: wifi0
                version: 01
                serial: 00:16:cf:c8:8e:20
                width: 32 bits
                clock: 33MHz
                capabilities: pm bus_master cap_list logical ethernet physical 
wireless
                configuration: broadcast=yes driver=ath_pci ip=192.168.0.41 
latency=96 maxlatency=28 mingnt=10 module=ath_pci multicast=yes wireless=IEEE 
802.11g
           *-pcmcia
                description: CardBus bridge
                product: PCIxx12 Cardbus Controller
                vendor: Texas Instruments
                physical id: 9
                bus info: [EMAIL PROTECTED]:0a:09.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pcmcia bus_master cap_list
                configuration: driver=yenta_cardbus latency=176 maxlatency=5 
mingnt=192 module=yenta_socket
           *-storage
                description: Mass storage controller
                product: 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
                vendor: Texas Instruments
                physical id: 9.2
                bus info: [EMAIL PROTECTED]:0a:09.2
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: storage pm bus_master cap_list
                configuration: driver=tifm_7xx1 latency=57 maxlatency=4 
mingnt=7 module=tifm_7xx1
        *-isa
             description: ISA bridge
             product: 82801GBM (ICH7-M) LPC Interface Bridge
             vendor: Intel Corporation
             physical id: 1f
             bus info: [EMAIL PROTECTED]:00:1f.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: latency=0
        *-ide
             description: IDE interface
             product: 82801G (ICH7 Family) IDE Controller
             vendor: Intel Corporation
             physical id: 1f.1
             bus info: [EMAIL PROTECTED]:00:1f.1
             logical name: scsi0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master emulated
             configuration: driver=ata_piix latency=0 module=ata_piix
           *-disk
                description: ATA Disk
                product: WDC WD600UE-22KV
                vendor: Western Digital
                physical id: 0.0.0
                bus info: [EMAIL PROTECTED]:0.0.0
                logical name: /dev/sda
                version: 01.0
                serial: WD-WXC706168376
                size: 55GiB (60GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=99621d45
              *-volume:0
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 1
                   bus info: [EMAIL PROTECTED]:0.0.0,1
                   logical name: /dev/sda1
                   logical name: /
                   logical name: /dev/.static/dev
                   version: 1.0
                   serial: 882b4528-443a-4576-a243-07d5b4ddaec0
                   size: 8008MiB
                   capacity: 8008MiB
                   capabilities: primary bootable journaled extended_attributes 
large_files huge_files recover ext3 ext2 initialized
                   configuration: created=2008-04-27 07:04:59 filesystem=ext3 
modified=2008-11-05 09:46:03 mount.fstype=ext3 
mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2008-11-05 
09:46:03 state=mounted
              *-volume:1
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 2
                   bus info: [EMAIL PROTECTED]:0.0.0,2
                   logical name: /dev/sda2
                   logical name: /home
                   version: 1.0
                   serial: 0ca95c4a-57b4-44a1-bf08-12747ea4ad69
                   size: 22GiB
                   capacity: 22GiB
                   capabilities: primary journaled extended_attributes 
large_files huge_files recover ext3 ext2 initialized
                   configuration: created=2008-04-27 07:05:06 filesystem=ext3 
modified=2008-11-05 09:46:03 mount.fstype=ext3 
mount.options=rw,relatime,data=ordered mounted=2008-11-05 09:46:03 state=mounted
              *-volume:2
                   description: Linux swap volume
                   physical id: 3
                   bus info: [EMAIL PROTECTED]:0.0.0,3
                   logical name: /dev/sda3
                   version: 1
                   serial: 8a970834-12e2-4e0c-b50c-e7ffe7822c60
                   size: 1027MiB
                   capacity: 1027MiB
                   capabilities: primary nofs swap initialized
                   configuration: filesystem=swap pagesize=4096
              *-volume:3
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 4
                   bus info: [EMAIL PROTECTED]:0.0.0,4
                   logical name: /dev/sda4
                   version: 1.0
                   serial: 8fda1a18-da46-441c-b951-8d9f8a25cd0a
                   size: 24GiB
                   capacity: 24GiB
                   capabilities: primary journaled extended_attributes 
large_files huge_files recover ext3 ext2 initialized
                   configuration: created=2007-11-04 01:14:10 filesystem=ext3 
modified=2008-11-02 00:07:51 mounted=2008-11-01 22:07:48 state=clean
           *-cdrom
                description: DVD-RAM writer
                product: DVD-RAM SDVD8821
                vendor: PHILIPS
                physical id: 0.1.0
                bus info: [EMAIL PROTECTED]:0.1.0
                logical name: /dev/cdrom
                logical name: /dev/dvd
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: EX04
                capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
                configuration: ansiversion=5 status=open
        *-serial UNCLAIMED
             description: SMBus
             product: 82801G (ICH7 Family) SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: [EMAIL PROTECTED]:00:1f.3
             version: 02
             width: 32 bits
             clock: 33MHz
             configuration: latency=0
-[0000:00]-+-00.0  Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT 
Express Memory Controller Hub [8086:27a0]
           +-02.0  Intel Corporation Mobile 945GM/GMS, 943/940GML Express 
Integrated Graphics Controller [8086:27a2]
           +-02.1  Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express 
Integrated Graphics Controller [8086:27a6]
           +-1b.0  Intel Corporation 82801G (ICH7 Family) High Definition Audio 
Controller [8086:27d8]
           +-1c.0-[0000:02]----00.0  Marvell Technology Group Ltd. 88E8038 
PCI-E Fast Ethernet Controller [11ab:4352]
           +-1c.1-[0000:03]--
           +-1c.2-[0000:04]--
           +-1c.3-[0000:05-07]--
           +-1d.0  Intel Corporation 82801G (ICH7 Family) USB UHCI Controller 
#1 [8086:27c8]
           +-1d.1  Intel Corporation 82801G (ICH7 Family) USB UHCI Controller 
#2 [8086:27c9]
           +-1d.2  Intel Corporation 82801G (ICH7 Family) USB UHCI Controller 
#3 [8086:27ca]
           +-1d.3  Intel Corporation 82801G (ICH7 Family) USB UHCI Controller 
#4 [8086:27cb]
           +-1d.7  Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller 
[8086:27cc]
           +-1e.0-[0000:0a-0e]--+-03.0  Atheros Communications Inc. AR2413 
802.11bg NIC [168c:001a]
           |                    +-09.0  Texas Instruments PCIxx12 Cardbus 
Controller [104c:8039]
           |                    \-09.2  Texas Instruments 5-in-1 Multimedia 
Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]
           +-1f.0  Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge 
[8086:27b9]
           +-1f.1  Intel Corporation 82801G (ICH7 Family) IDE Controller 
[8086:27df]
           \-1f.3  Intel Corporation 82801G (ICH7 Family) SMBus Controller 
[8086:27da]
/* generated by MPTable, version 2.0.15*/
/* as modified by RGM for coreboot */
#include <console/console.h>
#include <arch/smp/mpspec.h>
#include <device/pci.h>
#include <string.h>
#include <stdint.h>

void *smp_write_config_table(void *v)
{
        static const char sig[4] = "PCMP";
        static const char oem[8] = "LNXI    ";
        static const char productid[12] = "P4DPE       ";
        struct mp_config_table *mc;

        mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
        memset(mc, 0, sizeof(*mc));

        memcpy(mc->mpc_signature, sig, sizeof(sig));
        mc->mpc_length = sizeof(*mc); /* initially just the header */
        mc->mpc_spec = 0x04;
        mc->mpc_checksum = 0; /* not yet computed */
        memcpy(mc->mpc_oem, oem, sizeof(oem));
        memcpy(mc->mpc_productid, productid, sizeof(productid));
        mc->mpc_oemptr = 0;
        mc->mpc_oemsize = 0;
        mc->mpc_entry_count = 0; /* No entries yet... */
        mc->mpc_lapic = LAPIC_ADDR;
        mc->mpe_length = 0;
        mc->mpe_checksum = 0;
        mc->reserved = 0;

        smp_write_processors(mc);


/*Bus:		Bus ID	Type*/
	smp_write_bus(mc, 0, "PCI   ");
	smp_write_bus(mc, 2, "PCI   ");
	smp_write_bus(mc, 10, "PCI   ");
	smp_write_bus(mc, 11, "ISA   ");
/*I/O APICs:	APIC ID	Version	State		Address*/
	smp_write_ioapic(mc, 2, 0x20, 0xfec00000);
	{
		device_t dev;
		struct resource *res;
		dev = dev_find_slot(1, PCI_DEVFN(0x1e,0));
		if (dev) {
			res = find_resource(dev, PCI_BASE_ADDRESS_0);
			if (res) {
				smp_write_ioapic(mc, 3, 0x20, res->base);
			}
		}
		dev = dev_find_slot(1, PCI_DEVFN(0x1c,0));
		if (dev) {
			res = find_resource(dev, PCI_BASE_ADDRESS_0);
			if (res) {
				smp_write_ioapic(mc, 4, 0x20, res->base);
			}
		}
                dev = dev_find_slot(4, PCI_DEVFN(0x1e,0));
                if (dev) {
			res = find_resource(dev, PCI_BASE_ADDRESS_0);
			if (res) {
				smp_write_ioapic(mc, 5, 0x20, res->base);
			}
                }
                dev = dev_find_slot(4, PCI_DEVFN(0x1c,0));
                if (dev) {
			res = find_resource(dev, PCI_BASE_ADDRESS_0);
			if (res) {
				smp_write_ioapic(mc, 8, 0x20, res->base);
			}
                }
	}
/*I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
*/	smp_write_intsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x0, 0x1, 0x0);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x1, 0x1, 0x1);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x0, 0x1, 0x2);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x3, 0x1, 0x3);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x4, 0x1, 0x4);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x5, 0x1, 0x5);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x6, 0x1, 0x6);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x7, 0x1, 0x7);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x8, 0x1, 0x8);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x9, 0x1, 0x9);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x6c, 0x1, 0x16);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x8, 0x1, 0x10);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0xc, 0x1, 0xc);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0xd, 0x1, 0xd);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0xe, 0x1, 0xe);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0xf, 0x1, 0xf);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x70, 0x1, 0x10);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x71, 0x1, 0x11);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x72, 0x1, 0x12);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x73, 0x1, 0x13);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x74, 0x1, 0x17);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x75, 0x1, 0x13);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x76, 0x1, 0x12);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x77, 0x1, 0x10);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x74, 0x1, 0x17);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x7c, 0x1, 0x12);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x7d, 0x1, 0x13);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x0, 0x7d, 0x1, 0x13);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0x2, 0x0, 0x1, 0x10);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0xa, 0x24, 0x1, 0x14);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0xa, 0x25, 0x1, 0x15);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0xa, 0x24, 0x1, 0x14);
	smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, 0xa, 0x24, 0x1, 0x14);
/*Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#*/
	smp_write_intsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x0, MP_APIC_ALL, 0x0);
	smp_write_intsrc(mc, mp_NMI, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 0xb, 0x0, MP_APIC_ALL, 0x1);
MP Config Extended Table Entries:

--
System Address Space
 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0x10000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0x40000000
 address range: 0x6ff00000
--
System Address Space
 bus ID: 12 address type: memory address
 address base: 0xaff00000
 address range: 0x200000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xb0100000
 address range: 0xff00000
--
System Address Space
 bus ID: 0 address type: prefetch address
 address base: 0xc0000000
 address range: 0x10000000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xd0000000
 address range: 0x2ee00000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xfee01000
 address range: 0x11ff000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xa0000
 address range: 0x20000
--
System Address Space
 bus ID: 4 address type: memory address
 address base: 0xd0000
 address range: 0x14000
--
Bus Heirarchy
 bus ID: 11 bus info: 0x01 parent bus ID: 0--
Compatibility Bus Address
 bus ID: 0 address modifier: add
 predefined range: 0x00000000--
Compatibility Bus Address
 bus ID: 0 address modifier: add
 predefined range: 0x00000001--
Compatibility Bus Address
 bus ID: 12 address modifier: subtract
 predefined range: 0x00000000--
Compatibility Bus Address
 bus ID: 12 address modifier: subtract
 predefined range: 0x00000001	/* There is no extension information... */

	/* Compute the checksums */
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
	printk_debug("Wrote the mp table end at: %p - %p\n",
		mc, smp_next_mpe_entry(mc));
	return smp_next_mpe_entry(mc);
}

unsigned long write_smp_table(unsigned long addr)
{
	void *v;
	v = smp_write_floating_table(addr);
	return (unsigned long)smp_write_config_table(v);
}
superiotool r2976
Probing for ALi Super I/O at 0x3f0...
  Failed. Returned data: id=0xffff, rev=0xff
Probing for ALi Super I/O at 0x370...
  Failed. Returned data: id=0xffff, rev=0xff
Probing for Fintek Super I/O at 0x2e...
  Failed. Returned data: vid=0x0000, id=0x11ec
Probing for Fintek Super I/O at 0x4e...
  Failed. Returned data: vid=0xffff, id=0xffff
Probing for ITE Super I/O (init=0x87,0x01,0x55,0x55/0xaa) at 0x2e...
  Failed. Returned data: id=0xec11, rev=0x0
Probing for ITE Super I/O (init=0x87,0x87) at 0x2e...
  Failed. Returned data: id=0xec11, rev=0x0
Probing for ITE Super I/O (init=0x87,0x01,0x55,0x55/0xaa) at 0x4e...
  Failed. Returned data: id=0xffff, rev=0xf
Probing for ITE Super I/O (init=0x87,0x87) at 0x4e...
  Failed. Returned data: id=0xffff, rev=0xf
Probing for NSC Super I/O at 0x2e...
Found NSC PC87591x (sid=0xec, srid=0xe2) at 0x2e
No dump available for this Super I/O
Probing for NSC Super I/O at 0x4e...
  Failed. Returned data: port=0xff, port+1=0xff
Probing for SMSC Super I/O (idregs=0x20/0x21) at 0x2e...
  Failed. Returned data: id=0xec, rev=0x11
Probing for SMSC Super I/O (idregs=0x0d/0x0e) at 0x2e...
  Failed. Returned data: id=0x00, rev=0x00
Probing for SMSC Super I/O (idregs=0x20/0x21) at 0x4e...
  Failed. Returned data: id=0xff, rev=0xff
Probing for SMSC Super I/O (idregs=0x0d/0x0e) at 0x4e...
  Failed. Returned data: id=0xff, rev=0xff
Probing for SMSC Super I/O (idregs=0x20/0x21) at 0x162e...
  Failed. Returned data: id=0xff, rev=0xff
Probing for SMSC Super I/O (idregs=0x0d/0x0e) at 0x162e...
  Failed. Returned data: id=0xff, rev=0xff
Probing for SMSC Super I/O (idregs=0x20/0x21) at 0x164e...
  Failed. Returned data: id=0xff, rev=0xff
Probing for SMSC Super I/O (idregs=0x0d/0x0e) at 0x164e...
  Failed. Returned data: id=0xff, rev=0xff
Probing for SMSC Super I/O (idregs=0x20/0x21) at 0x3f0...
  Failed. Returned data: id=0xff, rev=0xff
Probing for SMSC Super I/O (idregs=0x0d/0x0e) at 0x3f0...
  Failed. Returned data: id=0xff, rev=0xff
Probing for SMSC Super I/O (idregs=0x20/0x21) at 0x370...
  Failed. Returned data: id=0xff, rev=0xff
Probing for SMSC Super I/O (idregs=0x0d/0x0e) at 0x370...
  Failed. Returned data: id=0xff, rev=0xff
Probing for Winbond Super I/O (init=0x88) at 0x2e...
  Failed. Returned data: id/oldid=0xec/0x00, rev=0x11
Probing for Winbond Super I/O (init=0x89) at 0x2e...
  Failed. Returned data: id/oldid=0xec/0x00, rev=0x11
Probing for Winbond Super I/O (init=0x86,0x86) at 0x2e...
  Failed. Returned data: id/oldid=0xec/0x00, rev=0x11
Probing for Winbond Super I/O (init=0x87,0x87) at 0x2e...
  Failed. Returned data: id/oldid=0xec/0x00, rev=0x11
Probing for Winbond Super I/O (init=0x88) at 0x4e...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x89) at 0x4e...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x86,0x86) at 0x4e...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x87,0x87) at 0x4e...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x88) at 0x3f0...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x89) at 0x3f0...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x86,0x86) at 0x3f0...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x87,0x87) at 0x3f0...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x88) at 0x370...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x89) at 0x370...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x86,0x86) at 0x370...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x87,0x87) at 0x370...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x88) at 0x250...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x89) at 0x250...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x86,0x86) at 0x250...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
Probing for Winbond Super I/O (init=0x87,0x87) at 0x250...
  Failed. Returned data: id/oldid=0xff/0x0f, rev=0xff
--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to