From 061851635545cd19bdd711282e63aee9f9a6379b Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 6 Jun 2010 11:28:33 +0000 Subject: [PATCH] Debug output of map_backing_store(), vm_map_physical_memory[_vecs](): Print the potential input parameter (virtual address) rather than its address. As suggested by Andreas Faerber in #6141. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37029 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/vm/vm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/system/kernel/vm/vm.cpp b/src/system/kernel/vm/vm.cpp index a966885032..1a88313311 100644 --- a/src/system/kernel/vm/vm.cpp +++ b/src/system/kernel/vm/vm.cpp @@ -745,7 +745,7 @@ map_backing_store(VMAddressSpace* addressSpace, VMCache* cache, int wiring, int protection, int mapping, VMArea** _area, const char* areaName, uint32 flags, bool kernel) { - TRACE(("map_backing_store: aspace %p, cache %p, *vaddr %p, offset 0x%Lx, " + TRACE(("map_backing_store: aspace %p, cache %p, virtual %p, offset 0x%Lx, " "size %lu, addressSpec %ld, wiring %d, protection %d, area %p, areaName " "'%s'\n", addressSpace, cache, *_virtualAddress, offset, size, addressSpec, wiring, protection, _area, areaName)); @@ -1404,7 +1404,7 @@ vm_map_physical_memory(team_id team, const char* name, void** _address, TRACE(("vm_map_physical_memory(aspace = %ld, \"%s\", virtual = %p, " "spec = %ld, size = %lu, protection = %ld, phys = %#lx)\n", team, - name, _address, addressSpec, size, protection, physicalAddress)); + name, *_address, addressSpec, size, protection, physicalAddress)); if (!arch_vm_supports_protection(protection)) return B_NOT_SUPPORTED; @@ -1509,7 +1509,7 @@ vm_map_physical_memory_vecs(team_id team, const char* name, void** _address, { TRACE(("vm_map_physical_memory_vecs(team = %ld, \"%s\", virtual = %p, " "spec = %ld, _size = %p, protection = %ld, vecs = %p, " - "vecCount = %ld)\n", team, name, _address, addressSpec, _size, + "vecCount = %ld)\n", team, name, *_address, addressSpec, _size, protection, vecs, vecCount)); if (!arch_vm_supports_protection(protection)