ReactOS 0.4.15-dev-7654-g6bc40d3
acapps.h File Reference

Go to the source code of this file.

Macros

#define ACPICA_NAME   "Intel ACPI Component Architecture"
 
#define ACPICA_COPYRIGHT   "Copyright (c) 2000 - 2022 Intel Corporation"
 
#define ACPI_WIDTH   " (unknown bit width, not 32 or 64)"
 
#define ACPI_COMMON_SIGNON(UtilityName)
 
#define ACPI_COMMON_HEADER(UtilityName, Prefix)
 
#define ACPI_COMMON_BUILD_TIME    "Build date/time: %s %s\n", __DATE__, __TIME__
 
#define ACPI_USAGE_HEADER(Usage)    printf ("Usage: %s\nOptions:\n", Usage);
 
#define ACPI_USAGE_TEXT(Description)    printf (Description);
 
#define ACPI_OPTION(Name, Description)    printf (" %-20s%s\n", Name, Description);
 
#define ACPI_CHECK_STATUS(Name, Status, Expected)
 
#define ACPI_CHECK_OK(Name, Status)   ACPI_CHECK_STATUS (Name, Status, AE_OK);
 
#define FILE_SUFFIX_DISASSEMBLY   "dsl"
 
#define FILE_SUFFIX_BINARY_TABLE   ".dat" /* Needs the dot */
 
#define ACPI_GET_ONLY_AML_TABLES   TRUE
 
#define ACPI_GET_ALL_TABLES   FALSE
 

Functions

ACPI_STATUS AcGetAllTablesFromFile (char *Filename, UINT8 GetOnlyAmlTables, ACPI_NEW_TABLE_DESC **ReturnListHead)
 
void AcDeleteTableList (ACPI_NEW_TABLE_DESC *ListHead)
 
BOOLEAN AcIsFileBinary (FILE *File)
 
ACPI_STATUS AcValidateTableHeader (FILE *File, long TableOffset)
 
int AcpiGetopt (int argc, char **argv, char *opts)
 
int AcpiGetoptArgument (int argc, char **argv)
 
UINT32 CmGetFileSize (ACPI_FILE File)
 
void AcpiDmCrossReferenceNamespace (ACPI_PARSE_OBJECT *ParseTreeRoot, ACPI_NAMESPACE_NODE *NamespaceRoot, ACPI_OWNER_ID OwnerId)
 
void AcpiDmDumpTree (ACPI_PARSE_OBJECT *Origin)
 
void AcpiDmFindOrphanMethods (ACPI_PARSE_OBJECT *Origin)
 
void AcpiDmFinishNamespaceLoad (ACPI_PARSE_OBJECT *ParseTreeRoot, ACPI_NAMESPACE_NODE *NamespaceRoot, ACPI_OWNER_ID OwnerId)
 
void AcpiDmConvertParseObjects (ACPI_PARSE_OBJECT *ParseTreeRoot, ACPI_NAMESPACE_NODE *NamespaceRoot)
 
ACPI_STATUS AdInitialize (void)
 
charFlGenerateFilename (char *InputFilename, char *Suffix)
 
ACPI_STATUS FlSplitInputPathname (char *InputPath, char **OutDirectoryPath, char **OutFilename)
 
charFlGetFileBasename (char *FilePathname)
 
charAdGenerateFilename (char *Prefix, char *TableId)
 
void AdWriteTable (ACPI_TABLE_HEADER *Table, UINT32 Length, char *TableName, char *OemTableId)
 

Variables

int AcpiGbl_Optind
 
int AcpiGbl_Opterr
 
int AcpiGbl_SubOptChar
 
charAcpiGbl_Optarg
 

Macro Definition Documentation

◆ ACPI_CHECK_OK

#define ACPI_CHECK_OK (   Name,
  Status 
)    ACPI_CHECK_STATUS (Name, Status, AE_OK);

Definition at line 110 of file acapps.h.

◆ ACPI_CHECK_STATUS

#define ACPI_CHECK_STATUS (   Name,
  Status,
  Expected 
)
Value:
if (Status != Expected) \
{ \
AcpiOsPrintf ("Unexpected %s from %s (%s-%d)\n", \
AcpiFormatException (Status), #Name, _AcpiModuleName, __LINE__); \
}
BOOLEAN Expected
Status
Definition: gdiplustypes.h:25
const char * AcpiFormatException(ACPI_STATUS Status)
Definition: utexcep.c:70

Definition at line 100 of file acapps.h.

◆ ACPI_COMMON_BUILD_TIME

#define ACPI_COMMON_BUILD_TIME    "Build date/time: %s %s\n", __DATE__, __TIME__

Definition at line 83 of file acapps.h.

◆ ACPI_COMMON_HEADER

#define ACPI_COMMON_HEADER (   UtilityName,
  Prefix 
)
Value:
"%s%s\n%s%s version %8.8X%s\n%s%s\n%s\n", \
Prefix, UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, \
unsigned int UINT32
#define ACPICA_COPYRIGHT
Definition: acapps.h:54
#define ACPI_WIDTH
Definition: acapps.h:64
#define ACPICA_NAME
Definition: acapps.h:53
#define ACPI_CA_VERSION
Definition: acpixf.h:49
_In_ __drv_aliasesMem PSTRING Prefix
Definition: rtlfuncs.h:1630

Definition at line 76 of file acapps.h.

◆ ACPI_COMMON_SIGNON

#define ACPI_COMMON_SIGNON (   UtilityName)
Value:
"\n%s\n%s version %8.8X\n%s\n\n", \
UtilityName, ((UINT32) ACPI_CA_VERSION), \

Definition at line 70 of file acapps.h.

◆ ACPI_GET_ALL_TABLES

#define ACPI_GET_ALL_TABLES   FALSE

Definition at line 141 of file acapps.h.

◆ ACPI_GET_ONLY_AML_TABLES

#define ACPI_GET_ONLY_AML_TABLES   TRUE

Definition at line 140 of file acapps.h.

◆ ACPI_OPTION

#define ACPI_OPTION (   Name,
  Description 
)     printf (" %-20s%s\n", Name, Description);

Definition at line 94 of file acapps.h.

◆ ACPI_USAGE_HEADER

#define ACPI_USAGE_HEADER (   Usage)     printf ("Usage: %s\nOptions:\n", Usage);

Definition at line 88 of file acapps.h.

◆ ACPI_USAGE_TEXT

#define ACPI_USAGE_TEXT (   Description)     printf (Description);

Definition at line 91 of file acapps.h.

◆ ACPI_WIDTH

#define ACPI_WIDTH   " (unknown bit width, not 32 or 64)"

Definition at line 64 of file acapps.h.

◆ ACPICA_COPYRIGHT

#define ACPICA_COPYRIGHT   "Copyright (c) 2000 - 2022 Intel Corporation"

Definition at line 54 of file acapps.h.

◆ ACPICA_NAME

#define ACPICA_NAME   "Intel ACPI Component Architecture"

Definition at line 53 of file acapps.h.

◆ FILE_SUFFIX_BINARY_TABLE

#define FILE_SUFFIX_BINARY_TABLE   ".dat" /* Needs the dot */

Definition at line 113 of file acapps.h.

◆ FILE_SUFFIX_DISASSEMBLY

#define FILE_SUFFIX_DISASSEMBLY   "dsl"

Definition at line 112 of file acapps.h.

Function Documentation

◆ AcDeleteTableList()

void AcDeleteTableList ( ACPI_NEW_TABLE_DESC ListHead)

◆ AcGetAllTablesFromFile()

ACPI_STATUS AcGetAllTablesFromFile ( char Filename,
UINT8  GetOnlyAmlTables,
ACPI_NEW_TABLE_DESC **  ReturnListHead 
)

◆ AcIsFileBinary()

BOOLEAN AcIsFileBinary ( FILE File)

◆ AcpiDmConvertParseObjects()

void AcpiDmConvertParseObjects ( ACPI_PARSE_OBJECT ParseTreeRoot,
ACPI_NAMESPACE_NODE NamespaceRoot 
)

◆ AcpiDmCrossReferenceNamespace()

void AcpiDmCrossReferenceNamespace ( ACPI_PARSE_OBJECT ParseTreeRoot,
ACPI_NAMESPACE_NODE NamespaceRoot,
ACPI_OWNER_ID  OwnerId 
)

◆ AcpiDmDumpTree()

void AcpiDmDumpTree ( ACPI_PARSE_OBJECT Origin)

◆ AcpiDmFindOrphanMethods()

void AcpiDmFindOrphanMethods ( ACPI_PARSE_OBJECT Origin)

◆ AcpiDmFinishNamespaceLoad()

void AcpiDmFinishNamespaceLoad ( ACPI_PARSE_OBJECT ParseTreeRoot,
ACPI_NAMESPACE_NODE NamespaceRoot,
ACPI_OWNER_ID  OwnerId 
)

◆ AcpiGetopt()

int AcpiGetopt ( int  argc,
char **  argv,
char opts 
)

◆ AcpiGetoptArgument()

int AcpiGetoptArgument ( int  argc,
char **  argv 
)

◆ AcValidateTableHeader()

ACPI_STATUS AcValidateTableHeader ( FILE File,
long  TableOffset 
)

◆ AdGenerateFilename()

char * AdGenerateFilename ( char Prefix,
char TableId 
)

◆ AdInitialize()

ACPI_STATUS AdInitialize ( void  )

◆ AdWriteTable()

void AdWriteTable ( ACPI_TABLE_HEADER Table,
UINT32  Length,
char TableName,
char OemTableId 
)

◆ CmGetFileSize()

UINT32 CmGetFileSize ( ACPI_FILE  File)

◆ FlGenerateFilename()

char * FlGenerateFilename ( char InputFilename,
char Suffix 
)

◆ FlGetFileBasename()

char * FlGetFileBasename ( char FilePathname)

◆ FlSplitInputPathname()

ACPI_STATUS FlSplitInputPathname ( char InputPath,
char **  OutDirectoryPath,
char **  OutFilename 
)

Variable Documentation

◆ AcpiGbl_Optarg

char* AcpiGbl_Optarg
extern

◆ AcpiGbl_Opterr

int AcpiGbl_Opterr
extern

◆ AcpiGbl_Optind

int AcpiGbl_Optind
extern

◆ AcpiGbl_SubOptChar

int AcpiGbl_SubOptChar
extern