Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
acpi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AcpiTable
 
struct  AcpiGenericAddress
 
struct  FADT
 

Enumerations

enum  AcpiAddressSpace { ACPI_AS_MEMORY = 0 , ACPI_AS_IO = 1 , ACPI_AS_PCI_CONFIG = 2 , ACPI_AS_SMBUS = 4 }
 

Functions

const AcpiTableacpi_GetTable (const char *signature)
 
void acpi_Shutdown ()
 invalidates all pointers returned by acpi_GetTable. More...
 

Enumeration Type Documentation

◆ AcpiAddressSpace

Enumerator
ACPI_AS_MEMORY 
ACPI_AS_IO 
ACPI_AS_PCI_CONFIG 
ACPI_AS_SMBUS 

Function Documentation

◆ acpi_GetTable()

const AcpiTable * acpi_GetTable ( const char *  signature)
Parameters
signaturee.g. "RSDT"
Returns
pointer to internal storage (valid until acpi_Shutdown())

note: the first call may be slow, e.g. if a kernel-mode driver is loaded. subsequent requests will be faster since tables are cached.

◆ acpi_Shutdown()

void acpi_Shutdown ( )

invalidates all pointers returned by acpi_GetTable.