2022-09-05 14:13:51 +00:00
|
|
|
#pragma once
|
2022-09-06 09:46:26 +00:00
|
|
|
#include "acpi/SDT.h"
|
2022-09-05 14:13:51 +00:00
|
|
|
|
|
|
|
namespace ACPI
|
|
|
|
{
|
|
|
|
struct XSDT
|
|
|
|
{
|
|
|
|
SDTHeader header;
|
|
|
|
uint64_t PointerToOtherSDT[1];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct RSDT
|
|
|
|
{
|
|
|
|
SDTHeader header;
|
|
|
|
uint32_t PointerToOtherSDT[1];
|
|
|
|
};
|
|
|
|
|
|
|
|
SDTHeader* GetRSDTOrXSDT();
|
|
|
|
|
|
|
|
void* FindTable(SDTHeader* rootSDT, const char* signature);
|
|
|
|
}
|