20 lines
381 B
C
20 lines
381 B
C
|
#pragma once
|
||
|
#include <stdint.h>
|
||
|
|
||
|
namespace ACPI
|
||
|
{
|
||
|
struct SDTHeader
|
||
|
{
|
||
|
char Signature[4];
|
||
|
uint32_t Length;
|
||
|
uint8_t Revision;
|
||
|
uint8_t Checksum;
|
||
|
char OEMID[6];
|
||
|
char OEMTableID[8];
|
||
|
uint32_t OEMRevision;
|
||
|
uint32_t CreatorID;
|
||
|
uint32_t CreatorRevision;
|
||
|
};
|
||
|
|
||
|
bool ValidateSDTHeader(SDTHeader* header);
|
||
|
}
|