Pyrogenesis  trunk
Classes | Enumerations | Functions
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

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

Enumeration Type Documentation

Enumerator
ACPI_AS_MEMORY 
ACPI_AS_IO 
ACPI_AS_PCI_CONFIG 
ACPI_AS_SMBUS 

Function Documentation

LIB_API 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.

LIB_API void acpi_Shutdown ( )

invalidates all pointers returned by acpi_GetTable.