sim-card
/
qemu
Archived
10
0
Fork 0

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
This commit is contained in:
aurel32 2008-04-12 20:14:43 +00:00
parent 796d828610
commit 339dea2774
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ static void do_physical_memory_save(unsigned int valh, unsigned int vall,
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) {