Author: cgutman Date: Sat Sep 24 12:01:48 2011 New Revision: 53831
URL: http://svn.reactos.org/svn/reactos?rev=53831&view=rev Log: [HAL] - Report table lookup failures - Report supported ACPI version
Modified: trunk/reactos/hal/halx86/acpi/halacpi.c
Modified: trunk/reactos/hal/halx86/acpi/halacpi.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/acpi/halacpi.c?r... ============================================================================== --- trunk/reactos/hal/halx86/acpi/halacpi.c [iso-8859-1] (original) +++ trunk/reactos/hal/halx86/acpi/halacpi.c [iso-8859-1] Sat Sep 24 12:01:48 2011 @@ -332,6 +332,12 @@ /* Using Mm */ MmUnmapIoSpace(Header, 2 * PAGE_SIZE); } + + DPRINT1("Failed to find ACPI table %c%c%c%c\n", + (Signature & 0xFF), + (Signature & 0xFF00) >> 8, + (Signature & 0xFF0000) >> 16, + (Signature & 0xFF000000) >> 24);
/* Didn't find anything */ return NULL; @@ -386,7 +392,15 @@ }
/* The correct checksum is always 0, anything else is illegal */ - if (CheckSum) HalpInvalidAcpiTable = Header->Signature; + if (CheckSum) + { + HalpInvalidAcpiTable = Header->Signature; + DPRINT1("Checksum failed on ACPI table %c%c%c%c\n", + (Signature & 0xFF), + (Signature & 0xFF00) >> 8, + (Signature & 0xFF0000) >> 16, + (Signature & 0xFF000000) >> 24); + } }
/* Return the table */ @@ -755,6 +769,8 @@ } }
+ DPRINT1("ACPI %d.0 detected\n", (Rsdt->Header.Revision + 1)); + /* Done */ return Status; }