mirror of
https://github.com/acpica/acpica/
synced 2025-02-05 08:04:11 +03:00
Miscellaneous support for multiple device implicit notify.
Adds support in the various tools and utilities: Debugger, AcpiSrc, and AcpiExec.
This commit is contained in:
parent
9924396a05
commit
76dfbe9a42
@ -864,10 +864,12 @@ AcpiDbDisplayGpes (
|
||||
ACPI_GPE_EVENT_INFO *GpeEventInfo;
|
||||
ACPI_GPE_REGISTER_INFO *GpeRegisterInfo;
|
||||
char *GpeType;
|
||||
ACPI_GPE_NOTIFY_INFO *Notify;
|
||||
UINT32 GpeIndex;
|
||||
UINT32 Block = 0;
|
||||
UINT32 i;
|
||||
UINT32 j;
|
||||
UINT32 Count;
|
||||
char Buffer[80];
|
||||
ACPI_BUFFER RetBuf;
|
||||
ACPI_STATUS Status;
|
||||
@ -988,7 +990,14 @@ AcpiDbDisplayGpes (
|
||||
AcpiOsPrintf ("Handler");
|
||||
break;
|
||||
case ACPI_GPE_DISPATCH_NOTIFY:
|
||||
AcpiOsPrintf ("Notify");
|
||||
Count = 0;
|
||||
Notify = GpeEventInfo->Dispatch.NotifyList;
|
||||
while (Notify)
|
||||
{
|
||||
Count++;
|
||||
Notify = Notify->Next;
|
||||
}
|
||||
AcpiOsPrintf ("Implicit Notify on %u devices", Count);
|
||||
break;
|
||||
default:
|
||||
AcpiOsPrintf ("UNKNOWN: %X",
|
||||
|
@ -730,11 +730,14 @@ AeMiscellaneousTests (
|
||||
AE_CHECK_OK (AcpiSetupGpeForWake, Status);
|
||||
|
||||
Status = AcpiSetGpeWakeMask (NULL, 5, ACPI_GPE_ENABLE);
|
||||
AE_CHECK_OK (AcpiGpeWakeup, Status);
|
||||
AE_CHECK_OK (AcpiSetGpeWakeMask, Status);
|
||||
|
||||
Status = AcpiSetupGpeForWake (Handle, NULL, 6);
|
||||
AE_CHECK_OK (AcpiSetupGpeForWake, Status);
|
||||
|
||||
Status = AcpiSetupGpeForWake (ACPI_ROOT_OBJECT, NULL, 6);
|
||||
AE_CHECK_OK (AcpiSetupGpeForWake, Status);
|
||||
|
||||
Status = AcpiSetupGpeForWake (Handle, NULL, 9);
|
||||
AE_CHECK_OK (AcpiSetupGpeForWake, Status);
|
||||
|
||||
|
@ -309,6 +309,7 @@ ACPI_TYPED_IDENTIFIER_TABLE AcpiIdentifiers[] = {
|
||||
{"ACPI_GPE_HANDLER", SRC_TYPE_SIMPLE},
|
||||
{"ACPI_GPE_HANDLER_INFO", SRC_TYPE_STRUCT},
|
||||
{"ACPI_GPE_INDEX_INFO", SRC_TYPE_STRUCT},
|
||||
{"ACPI_GPE_NOTIFY_INFO", SRC_TYPE_STRUCT},
|
||||
{"ACPI_GPE_REGISTER_INFO", SRC_TYPE_STRUCT},
|
||||
{"ACPI_GPE_WALK_INFO", SRC_TYPE_STRUCT},
|
||||
{"ACPI_GPE_XRUPT_INFO", SRC_TYPE_STRUCT},
|
||||
|
Loading…
x
Reference in New Issue
Block a user