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:
Fredrik Holmqvist 2017-02-20 16:26:43 +01:00
parent 7212666f4a
commit 584a39688c

View File

@ -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;