#include "acpi/SDT.h" bool ACPI::validate_sdt_header(ACPI::SDTHeader* header) { uint8_t sum = 0; for (uint32_t i = 0; i < header->Length; i++) { sum += ((char*)header)[i]; } return sum == 0; }