From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CzypV-0004sf-4z for qemu-devel@nongnu.org; Sat, 12 Feb 2005 10:05:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CzypL-0004pg-T1 for Qemu-devel@nongnu.org; Sat, 12 Feb 2005 10:04:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzypK-0004ng-Nn for Qemu-devel@nongnu.org; Sat, 12 Feb 2005 10:04:54 -0500 Received: from [195.130.132.58] (helo=astra.telenet-ops.be) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CzyV6-0002WV-4y for Qemu-devel@nongnu.org; Sat, 12 Feb 2005 09:44:00 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by astra.telenet-ops.be (Postfix) with SMTP id B61CD3280DB for ; Sat, 12 Feb 2005 15:43:59 +0100 (MET) Received: from 192.168.1.2 (d51A51CF1.access.telenet.be [81.165.28.241]) by astra.telenet-ops.be (Postfix) with ESMTP id 9C34332819D for ; Sat, 12 Feb 2005 15:43:59 +0100 (MET) From: Bob Deblier Content-Type: text/plain Date: Sat, 12 Feb 2005 15:43:59 +0100 Message-Id: <1108219439.5532.17.camel@orion> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Compilation on FC3 x86_64 host; sparc target fix Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu-devel@nongnu.org Enclosed a patch which allows sparc targets to be compiled; the return type for function cpu_get_phys_page_debug didn't match the declaration. diff -p -r1.16 translate.c *** target-sparc/translate.c 30 Jan 2005 22:39:04 -0000 1.16 --- target-sparc/translate.c 12 Feb 2005 14:41:36 -0000 *************** void cpu_dump_state(CPUState *env, FILE *** 1670,1676 **** } #if defined(CONFIG_USER_ONLY) ! target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr) { return addr; } --- 1670,1676 ---- } #if defined(CONFIG_USER_ONLY) ! target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr) { return addr; } *************** extern int get_physical_address (CPUStat *** 1680,1686 **** int *access_index, target_ulong address, int rw, int is_user); ! target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr) { target_phys_addr_t phys_addr; int prot, access_index; --- 1680,1686 ---- int *access_index, target_ulong address, int rw, int is_user); ! target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr) { target_phys_addr_t phys_addr; int prot, access_index; Sincerely, Bob Deblier