BarryServer : Git

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

// Related

Nucleus

Barry Driver core e4c4dfe (3 years, 2 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);
void init_pci(void);

#endif