diff options
Diffstat (limited to 'source/tools/acpidump/acpidump.h')
-rw-r--r-- | source/tools/acpidump/acpidump.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/source/tools/acpidump/acpidump.h b/source/tools/acpidump/acpidump.h index 44fd7d3..203108f 100644 --- a/source/tools/acpidump/acpidump.h +++ b/source/tools/acpidump/acpidump.h @@ -67,9 +67,10 @@ EXTERN BOOLEAN INIT_GLOBAL (Gbl_SummaryMode, FALSE); EXTERN BOOLEAN INIT_GLOBAL (Gbl_VerboseMode, FALSE); EXTERN BOOLEAN INIT_GLOBAL (Gbl_BinaryMode, FALSE); -EXTERN UINT32 INIT_GLOBAL (Gbl_SsdtCount, 0); +EXTERN BOOLEAN INIT_GLOBAL (Gbl_DumpCustomizedTables, FALSE); EXTERN FILE INIT_GLOBAL (*Gbl_OutputFile, NULL); EXTERN char INIT_GLOBAL (*Gbl_OutputFilename, NULL); +EXTERN UINT64 INIT_GLOBAL (Gbl_RsdpBase, 0); /* Globals required for use with ACPICA modules */ @@ -89,6 +90,10 @@ typedef struct ap_dump_action } AP_DUMP_ACTION; +/* Local RSDP signature (Not the same as the actual signature which is "RSD PTR ") */ + +#define AP_DUMP_SIG_RSDP "RSDP" + #define AP_MAX_ACTIONS 32 #define AP_DUMP_ALL_TABLES 0 @@ -129,6 +134,14 @@ BOOLEAN ApIsValidHeader ( ACPI_TABLE_HEADER *Table); +BOOLEAN +ApIsValidChecksum ( + ACPI_TABLE_HEADER *Table); + +UINT32 +ApGetTableLength ( + ACPI_TABLE_HEADER *Table); + /* * apfiles - File I/O utilities @@ -143,7 +156,8 @@ ApOpenOutputFile ( int ApWriteToBinaryFile ( - ACPI_TABLE_HEADER *Table); + ACPI_TABLE_HEADER *Table, + UINT32 Instance); ACPI_TABLE_HEADER * ApGetTableFromFile ( |