Commit 339dea2774fbfb7092cc35a061849c0cb448618d
1 parent
796d8286
Use correct memory types in do_physical_memory_save()
(Stuart Brady) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4198 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
monitor.c
... | ... | @@ -750,7 +750,7 @@ static void do_physical_memory_save(unsigned int valh, unsigned int vall, |
750 | 750 | FILE *f; |
751 | 751 | uint32_t l; |
752 | 752 | uint8_t buf[1024]; |
753 | - target_long addr = GET_TLONG(valh, vall); | |
753 | + target_phys_addr_t addr = GET_TPHYSADDR(valh, vall); | |
754 | 754 | |
755 | 755 | f = fopen(filename, "wb"); |
756 | 756 | if (!f) { | ... | ... |