the following patch was just integrated into master: commit 1b3e176468213747188c8979a505a4dd8b83f0bd Author: Paul Menzel paulepanter@users.sourceforge.net Date: Tue Apr 23 14:49:41 2013 +0200
x86 I/O APIC: Dump I/O APIC regs in `ioapic.c`
Some southbridges have code in their `lpc.c` files to dump the I/O APIC registers.
printk(BIOS_SPEW, "Dumping IOAPIC registers\n"); for (i=0; i<3; i++) { *ioapic_index = i; printk(BIOS_SPEW, " reg 0x%04x:", i); reg32 = *ioapic_data; printk(BIOS_SPEW, " 0x%08x\n", reg32); }
Add similar code to `src/arch/x86/lib/ioapic.c` so all boards using the function `set_ioapic_id()` get the debug feature and the other boards can be more easily adapted in follow-up patches.
Change-Id: Ic59c4c2213ed97bdf3798b3dc6e7cecc30e135d8 Signed-off-by: Paul Menzel paulepanter@users.sourceforge.net Reviewed-on: http://review.coreboot.org/3184 Reviewed-by: Aaron Durbin adurbin@google.com Tested-by: build bot (Jenkins)
Build-Tested: build bot (Jenkins) at Tue May 7 20:34:54 2013, giving +1 Reviewed-By: Aaron Durbin adurbin@google.com at Tue May 7 20:02:15 2013, giving +2 See http://review.coreboot.org/3184 for details.
-gerrit