mirror of
https://github.com/acpica/acpica/
synced 2025-01-16 06:19:19 +03:00
HID, UID are returned as strings now
date 99.11.01.18.12.00; author rmoore1; state Exp;
This commit is contained in:
parent
cc67ec1a8f
commit
2535a2132c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user