From 28e1a4278def1224ea766a2a53b561695dba75cc Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 6 Feb 2020 01:26:52 +0100 Subject: [PATCH] misc --- kaleid/kernel/io/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaleid/kernel/io/acpi.c b/kaleid/kernel/io/acpi.c index c6ba0e1..cb5c74a 100644 --- a/kaleid/kernel/io/acpi.c +++ b/kaleid/kernel/io/acpi.c @@ -189,7 +189,7 @@ static inline void IoSearchAcpiTables(void) for (int i = 0; i < entries; i++) { - cur = (SDTHeader *)((ulong)&(xrsdt->sdtTablePtr)); + cur = (SDTHeader *)((ulong)(xrsdt->sdtTablePtr)); table = &cur[i]; // Checksum calculation