mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-11 09:14:38 +03:00
acpi: Fix wrongly calculated RSDP checksum
This commit is contained in:
parent
cebb45bad3
commit
c31073ce63
@ -25,7 +25,7 @@ void *acpi_get_rsdp(void) {
|
||||
i = 0xe0000;
|
||||
}
|
||||
if (!memcmp((char *)i, "RSD PTR ", 8)
|
||||
&& !acpi_checksum((void *)i, sizeof(struct rsdp))) {
|
||||
&& !acpi_checksum((void *)i, 20)) {
|
||||
printv("acpi: Found RSDP at %x\n", i);
|
||||
return (void *)i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user