HID, UID are returned as strings now

date	99.11.01.18.12.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:38:47 +00:00
parent cc67ec1a8f
commit 2535a2132c

View File

@ -189,7 +189,6 @@ AcpiLoadNamespace (
* but the SSDT and PSDT tables are optional.
*/
Status = AmlLoadTable (TABLE_DSDT);
if (ACPI_FAILURE (Status))
{
@ -487,7 +486,7 @@ AcpiGetObjectInfo (
Status = Execute_HID (DeviceEntry, &Hid);
if (ACPI_SUCCESS (Status))
{
Info->HardwareId = Hid.Data.Number;
STRCPY (Info->HardwareId, Hid.Data.String);
Info->Valid |= ACPI_VALID_HID;
}
@ -496,7 +495,7 @@ AcpiGetObjectInfo (
Status = Execute_UID (DeviceEntry, &Uid);
if (ACPI_SUCCESS (Status))
{
Info->UniqueId = Uid.Data.Number;
STRCPY (Info->UniqueId, Uid.Data.String);
Info->Valid |= ACPI_VALID_UID;
}