BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / blob / ca4f3abc7b46ecf67b6a72e75989dc6eccead09a / kernel / acpi / acpi.h

// Related

Nucleus

Barry ACPI DSDT + PCI 53a772a (3 years, 3 months ago)
#ifndef KERNEL_ACPI_H
#define KERNEL_ACPI_H

/* System Descriptor Table Header */
struct SDTHeader {
	char signature[4];
	uint32_t length;
	uint8_t revision;
	uint8_t checksum;
	char oem[6];
	char oemTable[8];
	uint32_t oemRevision;
	uint32_t creator;
	uint32_t creatorRevision;
};

void init_table(struct SDTHeader *table);
void init_acpi(void *ebda);

#endif