[syslinux:master] ACPI: Displaying MADT as APIC

syslinux-bot for Erwan Velu erwanaliasr1 at gmail.com
Sun Feb 6 14:07:36 PST 2011


Commit-ID:  b85a1abde1d4ce2356a73ad9399a74e9ebec2622
Gitweb:     http://syslinux.zytor.com/commit/b85a1abde1d4ce2356a73ad9399a74e9ebec2622
Author:     Erwan Velu <erwanaliasr1 at gmail.com>
AuthorDate: Wed, 26 Jan 2011 22:27:44 +0100
Committer:  Erwan Velu <erwanaliasr1 at gmail.com>
CommitDate: Wed, 26 Jan 2011 22:27:44 +0100

ACPI: Displaying MADT as APIC

Kernel shows this table as APIC, let's do the same


---
 com32/gpllib/acpi/madt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/com32/gpllib/acpi/madt.c b/com32/gpllib/acpi/madt.c
index d93e4be..b5b536f 100644
--- a/com32/gpllib/acpi/madt.c
+++ b/com32/gpllib/acpi/madt.c
@@ -154,7 +154,7 @@ void parse_madt(s_acpi * acpi)
     s_madt *m = &acpi->madt;
 
     /* Fixing table name */
-    memcpy(m->header.signature, MADT, sizeof(MADT));
+    memcpy(m->header.signature, APIC, sizeof(APIC));
 
     /* Copying remaining structs */
     q = (uint8_t *)m->address;



More information about the Syslinux-commits mailing list