aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/acpi/acpi.h
diff options
context:
space:
mode:
authorMarvin Borner2020-04-18 17:45:30 +0200
committerMarvin Borner2020-04-18 17:45:30 +0200
commit54d848127e2026b710463508b1e6ca89c2b4b068 (patch)
tree73929602c8824bc6fa06236840b6cac664448241 /src/kernel/acpi/acpi.h
parent8d78616a2b80c7625c1aa9ca4733e48a8bf8bf22 (diff)
I don't know HOW I did it, but it works!
I finally fixed the acpi tables with some memory mapping magic and paging allocations, which seems to do the trick. YAY.
Diffstat (limited to 'src/kernel/acpi/acpi.h')
-rw-r--r--src/kernel/acpi/acpi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/acpi/acpi.h b/src/kernel/acpi/acpi.h
index 886dc6c..c9df040 100644
--- a/src/kernel/acpi/acpi.h
+++ b/src/kernel/acpi/acpi.h
@@ -50,12 +50,11 @@ struct sdt_header {
struct rsdt {
struct sdt_header header;
- uint32_t sdt_pointer[0];
};
struct xsdt {
struct sdt_header header;
- uint32_t sdt_pointer[0];
+ uint32_t *sdt_pointer;
};
struct fadt {