ACPI: Displaying MADT as APIC
authorErwan Velu <erwanaliasr1@gmail.com>
Wed, 26 Jan 2011 21:27:44 +0000 (22:27 +0100)
committerErwan Velu <erwanaliasr1@gmail.com>
Wed, 26 Jan 2011 21:27:44 +0000 (22:27 +0100)
Kernel shows this table as APIC, let's do the same

com32/gpllib/acpi/madt.c

index d93e4be..b5b536f 100644 (file)
@@ -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;