summaryrefslogtreecommitdiff
path: root/source/include/aclocal.h
diff options
context:
space:
mode:
authorJose Marinho <jose.marinho@arm.com>2023-03-28 10:50:46 +0100
committerJose Marinho <jose.marinho@arm.com>2023-05-09 09:24:04 +0100
commitdc6fd1d12903015726a8a6f87f63e86141576a68 (patch)
treee229f8d1935ef38c9b77dc31507b9af803332e4a /source/include/aclocal.h
parent2bc8fd497d1e2924845814f1d81378ec5601f63c (diff)
downloadacpica-dc6fd1d12903015726a8a6f87f63e86141576a68.tar.gz
Detect GED device and keep track of _EVT
The GED device is described by a _HID of ACPI0013. This code traverses the namespace identifying all GED devices. For each GED device in the namespace we record 1) the Interrupt objects and the _EVT method. This information is used when an interrupt is simulate. Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com> Signed-off-by: Jose Marinho <jose.marinho@arm.com>
Diffstat (limited to 'source/include/aclocal.h')
-rw-r--r--source/include/aclocal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/include/aclocal.h b/source/include/aclocal.h
index 2d7c8355a..99459a8b8 100644
--- a/source/include/aclocal.h
+++ b/source/include/aclocal.h
@@ -767,6 +767,15 @@ typedef struct acpi_field_info
} ACPI_FIELD_INFO;
+/* Information about the interrupt ID and _EVT of a GED device */
+
+typedef struct acpi_ged_handler_info
+{
+ struct acpi_ged_handler_info *Next;
+ UINT32 IntId; /* The interrupt ID that triggers the execution ofthe EvtMethod. */
+ ACPI_NAMESPACE_NODE *EvtMethod; /* The _EVT method to be executed when an interrupt with ID = IntID is received */
+
+} ACPI_GED_HANDLER_INFO;
/*****************************************************************************
*