]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commitdiff
cpu_get_phys_page_debug returning value
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 11 Sep 2008 16:33:15 +0000 (17:33 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 11 Sep 2008 16:33:15 +0000 (17:33 +0100)
this change was originally made by Samuel as part of the patch to
compile qemu-remote as a stubdomain.

The return value of cpu_get_phys_page_debug in helper2.c should be a
target_phys_addr_t.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
i386-dm/helper2.c

index d630cb0bba688ce8146569600104fdf6705f5783..5b34e51a045d4c1212cc77a4794045d05e985167 100644 (file)
@@ -196,7 +196,7 @@ void cpu_x86_set_a20(CPUX86State *env, int a20_state)
     }
 }
 
-target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
+target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
 {
         return addr;
 }