[haiku-commits] haiku: hrev50966 - src/add-ons/kernel/bus_managers/acpi

  • From: fredrik.holmqvist@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 20 Feb 2017 16:31:11 +0100 (CET)

hrev50966 adds 1 changeset to branch 'master'
old head: 7212666f4a36fcd7d04e19676128df38ef4fdcdd
new head: 584a39688c41044cdd01ee670352ddf95eb5a6a1
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=584a39688c41+%5E7212666f4a36

----------------------------------------------------------------------------

584a39688c41: 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

                         [ Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev50966
Commit:      584a39688c41044cdd01ee670352ddf95eb5a6a1
URL:         http://cgit.haiku-os.org/haiku/commit/?id=584a39688c41
Author:      Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx>
Date:        Mon Feb 20 15:26:43 2017 UTC

----------------------------------------------------------------------------

1 file changed, 2 insertions(+), 2 deletions(-)
src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp | 4 ++--

----------------------------------------------------------------------------

diff --git a/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp 
b/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
index 5e59e29..f4bb96f 100644
--- a/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
+++ b/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp
@@ -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;


Other related posts: