Luna/kernel/include/acpi/RSDT.h
2022-09-10 18:42:40 +02:00

25 lines
411 B
C++

#pragma once
#include "acpi/SDT.h"
namespace ACPI
{
struct XSDT
{
SDTHeader header;
uint64_t PointerToOtherSDT[1];
};
struct RSDT
{
SDTHeader header;
uint32_t PointerToOtherSDT[1];
};
SDTHeader* GetRSDTOrXSDT();
bool ValidateRSDTOrXSDT(SDTHeader* rootSDT);
bool IsXSDT();
void* FindTable(SDTHeader* rootSDT, const char* signature);
}