const AcpiTable * acpi_GetTable(const char *signature)
Definition: acpi.cpp:155
void acpi_Shutdown()
invalidates all pointers returned by acpi_GetTable.
Definition: acpi.cpp:143
AcpiAddressSpace
Definition: acpi.h:47
@ ACPI_AS_PCI_CONFIG
Definition: acpi.h:51
@ ACPI_AS_IO
Definition: acpi.h:50
@ ACPI_AS_SMBUS
Definition: acpi.h:52
@ ACPI_AS_MEMORY
Definition: acpi.h:49
u8 accessSize
Definition: acpi.h:61
u8 addressSpaceId
Definition: acpi.h:58
u8 registerBitWidth
Definition: acpi.h:59
u8 registerBitOffset
Definition: acpi.h:60
u64 address
Definition: acpi.h:62
u32 creatorRevision
Definition: acpi.h:43
u32 size
Definition: acpi.h:36
char creatorId[4]
Definition: acpi.h:42
char signature[4]
Definition: acpi.h:35
u8 revision
Definition: acpi.h:37
u32 oemRevision
Definition: acpi.h:41
char oemId[6]
Definition: acpi.h:39
char oemTableId[8]
Definition: acpi.h:40
u8 checksum
Definition: acpi.h:38
u32 flags
Definition: acpi.h:76
u8 unused2[16]
Definition: acpi.h:70
bool IsC2Supported() const
Definition: acpi.h:84
AcpiTable header
Definition: acpi.h:67
u16 c3Latency
Definition: acpi.h:72
u8 dutyWidth
Definition: acpi.h:74
u8 unused3[5]
Definition: acpi.h:73
u8 unused4[6]
Definition: acpi.h:75
u32 pmTimerPortAddress
Definition: acpi.h:69
bool IsC3Supported() const
Definition: acpi.h:89
bool IsDutyCycleSupported() const
Definition: acpi.h:79
u8 unused1[40]
Definition: acpi.h:68
u16 c2Latency
Definition: acpi.h:71
uint64_t u64
Definition: types.h:40
uint8_t u8
Definition: types.h:37
uint16_t u16
Definition: types.h:38
uint32_t u32
Definition: types.h:39