mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 21:11:28 +01:00
Log ACPI address and size as 64 bit
Even on 32 bit machines the default is to use 64 bit addresses because of PAE. Haiku currently forces 32 bit addresses which probably should be fixed. See achaiku.h: define ACPI_32BIT_PHYSICAL_ADDRESS
This commit is contained in:
parent
7212666f4a
commit
584a39688c
@ -475,8 +475,8 @@ AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS where, ACPI_SIZE length)
|
||||
DEBUG_FUNCTION_F("addr: 0x%08lx; length: %lu; mapped: %p; area: %ld",
|
||||
(addr_t)where, (size_t)length, there, area);
|
||||
if (area < 0) {
|
||||
dprintf("ACPI: cannot map memory at 0x%" B_PRIuADDR ", length %"
|
||||
B_PRIuSIZE "\n", where, length);
|
||||
dprintf("ACPI: cannot map memory at 0x%" B_PRIu64 ", length %"
|
||||
B_PRIu64 "\n", (uint64)where, (uint64)length);
|
||||
return NULL;
|
||||
}
|
||||
return there;
|
||||
|
Loading…
x
Reference in New Issue
Block a user