WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] [ioemu & qemu-remote] cpu_get_phys_page_debug return

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] [ioemu & qemu-remote] cpu_get_phys_page_debug returning value
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 11 Sep 2008 16:34:22 +0100
Delivery-date: Thu, 11 Sep 2008 08:33:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080505)
Hi all,
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@xxxxxxxxxxxxx>

---
 i386-dm/helper2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/i386-dm/helper2.c b/i386-dm/helper2.c
index d630cb0..5b34e51 100644
--- a/i386-dm/helper2.c
+++ b/i386-dm/helper2.c
@@ -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;
 }
-- 
1.5.4.3


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [ioemu & qemu-remote] cpu_get_phys_page_debug returning value, Stefano Stabellini <=