Luna/kernel/include/acpi/RSDT.h

25 lines
411 B
C
Raw Normal View History

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();
bool ValidateRSDTOrXSDT(SDTHeader* rootSDT);
2022-09-10 16:42:40 +00:00
bool IsXSDT();
2022-09-05 14:13:51 +00:00
void* FindTable(SDTHeader* rootSDT, const char* signature);
}