From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: [PATCH] [ioemu & qemu-remote] cpu_get_phys_page_debug returning value Date: Thu, 11 Sep 2008 16:34:22 +0100 Message-ID: <48C93A7E.7060502@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 --- 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