diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-07 11:21:28 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-07 11:21:28 +0000 |
commit | 9b3c35e0e6cea178b7c757300f9045258bc5cd10 (patch) | |
tree | 49a3eb5226c7928ada1d9314685028207972949d /exec.c | |
parent | 80a34d67a5061ef1fbe8d8f77e866aa350f70959 (diff) | |
download | qemu-9b3c35e0e6cea178b7c757300f9045258bc5cd10.tar.gz qemu-9b3c35e0e6cea178b7c757300f9045258bc5cd10.tar.bz2 qemu-9b3c35e0e6cea178b7c757300f9045258bc5cd10.zip |
cpu_get_phys_page_debug should return target_phys_addr_t
instead of target_ulong to be consistent.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2633 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1030,7 +1030,8 @@ static void tb_reset_jump_recursive(TranslationBlock *tb) #if defined(TARGET_HAS_ICE) static void breakpoint_invalidate(CPUState *env, target_ulong pc) { - target_ulong addr, pd; + target_phys_addr_t addr; + target_ulong pd; ram_addr_t ram_addr; PhysPageDesc *p; @@ -2574,7 +2575,8 @@ int cpu_memory_rw_debug(CPUState *env, target_ulong addr, uint8_t *buf, int len, int is_write) { int l; - target_ulong page, phys_addr; + target_phys_addr_t phys_addr; + target_ulong page; while (len > 0) { page = addr & TARGET_PAGE_MASK; |