]> xenbits.xensource.com Git - seabios.git/commit
report real I/O APIC ID (0) on MADT and MP-table (v3)
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 25 Jul 2012 18:45:29 +0000 (15:45 -0300)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 2 Aug 2012 00:46:27 +0000 (20:46 -0400)
commite39b9381687c9ddd3f1eb08f9135c574c099ee06
treedcb9696686cfce3b4e6681a69feef8fab2be1f21
parentc0207888874c016b77c359688a221a58b58dd3a4
report real I/O APIC ID (0) on MADT and MP-table (v3)

When resetting an I/O APIC, its ID is set to 0, and SeaBIOS doesn't
change it, so report it correctly on the ACPI MADT table and MP-table.

Some hardware may require the BIOS to initialize I/O APIC ID to an
unique value, but SeaBIOS doesn't do that. This patch at least makes the
tables reflect reality.

Changes v2 -> v3:
 - Fix MP-table too, not just ACPI MADT table

Changes v1 -> v2:
 - Cosmetic: whitespace change (removed extra newline)
 - New patch description

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
src/acpi.c
src/config.h
src/mptable.c