1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +00:00

Kernel: Make the ACPI DSDT table accessible

Expose the DSDT table in ACPI::Parser and in
/sys/firmware/acpi as a first little step toward
interpreting the AML bytecode from ACPI.
This commit is contained in:
minus 2022-09-25 17:29:44 +02:00 committed by Andrew Kaster
parent 8c5fa95ba3
commit cf48200e7b
3 changed files with 22 additions and 1 deletions

View file

@ -320,6 +320,11 @@ struct [[gnu::packed]] MCFG {
u64 reserved;
PCI_MMIO_Descriptor descriptors[];
};
struct [[gnu::packed]] DSDT {
SDTHeader h;
unsigned char definition_block[];
};
}
class Parser;