ACPI reading memory when mapped to higher half

This commit is contained in:
2023-09-11 23:23:38 +02:00
parent e8df6ec628
commit 2970806705
3 changed files with 46 additions and 11 deletions

View File

@ -16,10 +16,9 @@ struct ACPISDTHeader{
uint32_t CreatorRevision;
};
struct RSDT{
struct ACPISDTHeader h;
uint32_t PointerToSDT[]; // Length of array : (header.Length - sizeof(header))/ 4
uint32_t *PointerToSDT; // Length of array : (header.Length - sizeof(header))/ 4
}__attribute__((packed));
@ -28,7 +27,7 @@ struct RSDPDescriptor {
uint8_t Checksum ;
char OEMID [6];
uint8_t Revision;
RSDT* RsdtAddress;
uint32_t RsdtAddress;
}__attribute__((packed));
struct RSCPDescriptor20{