Skip to contentSkip to conversation

[4198] Use correct memory types in do_physical_memory_save()

Qemu-devel Aurelien Jarno 1 participant 1 message Apr 12, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4198

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4198
Author:   aurel32
Date:     2008-04-12 20:14:43 +0000 (Sat, 12 Apr 2008)

Log Message:
-----------
Use correct memory types in do_physical_memory_save()

(Stuart Brady)

Modified Paths:
--------------
trunk/monitor.c

Modified: trunk/monitor.c
===================================================================

monitor.c +1 -1
@@ -750,7 +750,7 @@
     FILE *f;
     uint32_t l;
     uint8_t buf[1024];
-    target_long addr = GET_TLONG(valh, vall);
+    target_phys_addr_t addr = GET_TPHYSADDR(valh, vall); 
 
     f = fopen(filename, "wb");
     if (!f) {