Go to the source code of this file.
const AcpiTable* acpi_GetTable |
( |
const char * |
signature | ) |
|
- Parameters
-
- 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.
Definition at line 362 of file acpi.cpp.
invalidates all pointers returned by acpi_GetTable.
Definition at line 346 of file acpi.cpp.
static void AllocateAndCopyTables |
( |
const AcpiTable **& |
tables, |
|
|
size_t & |
numTables |
|
) |
| |
|
static |
static AcpiTable* AllocateTable |
( |
size_t |
size | ) |
|
|
static |
static u8 ComputeChecksum |
( |
PCV_u8 |
buf, |
|
|
size_t |
numBytes |
|
) |
| |
|
static |
template<typename T >
static void DeallocateTable |
( |
const T * |
table | ) |
|
|
static |
static bool ValidateTable |
( |
const AcpiTable * |
table, |
|
|
const char * |
signature = 0 |
|
) |
| |
|
static |