4 Copyright © 2017, The AROS Development Team. All rights reserved.
7 Desc: Generic AROS ACPI definitions.
11 #include <utility/hooks.h>
12 #include <acpica/actbl.h>
15 struct List acpi_tablehooks
;
19 /* cached pointers to the ACPI Tables */
20 CONST_APTR acpi_fadt
; /* FADT pointer */
21 CONST_APTR acpi_madt
; /* MADT pointer */
24 struct ACPI_TABLE_HOOK
{
25 struct Node acpith_Node
;
26 struct Hook acpith_Hook
;
27 ULONG acpith_HeaderLen
;
28 UINT8 acpith_EntryType
;
32 struct ACPI_TABLESCAN_DATA
{
33 ACPI_TABLE_HEADER
*acpits_Table
;
37 typedef void(acpi_supportinit_t
)(struct PlatformData
*);
38 void acpi_Init(struct PlatformData
*pdata
);
39 int acpi_ScanTableEntries(CONST ACPI_TABLE_HEADER
*, ULONG
, UINT8
, const struct Hook
*, APTR
);
41 #endif /* !KERNEL_ACPI_H */