From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9Sbc-0003Ed-2h for qemu-devel@nongnu.org; Sun, 07 Dec 2008 18:00:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9Sba-0003EE-AE for qemu-devel@nongnu.org; Sun, 07 Dec 2008 18:00:02 -0500 Received: from [199.232.76.173] (port=47992 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9Sba-0003E9-5O for qemu-devel@nongnu.org; Sun, 07 Dec 2008 18:00:02 -0500 Received: from savannah.gnu.org ([199.232.41.3]:41826 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L9SbZ-0003ng-JB for qemu-devel@nongnu.org; Sun, 07 Dec 2008 18:00:01 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L9SbY-0008Jv-Oi for qemu-devel@nongnu.org; Sun, 07 Dec 2008 23:00:00 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L9SbY-0008Jr-G8 for qemu-devel@nongnu.org; Sun, 07 Dec 2008 23:00:00 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Sun, 07 Dec 2008 23:00:00 +0000 Subject: [Qemu-devel] [5941] target-ppc: kill a few warnings 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 Revision: 5941 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5941 Author: aurel32 Date: 2008-12-07 23:00:00 +0000 (Sun, 07 Dec 2008) Log Message: ----------- target-ppc: kill a few warnings Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/hw/ppc4xx_pci.c trunk/target-ppc/translate.c Modified: trunk/hw/ppc4xx_pci.c =================================================================== --- trunk/hw/ppc4xx_pci.c 2008-12-07 22:50:16 UTC (rev 5940) +++ trunk/hw/ppc4xx_pci.c 2008-12-07 23:00:00 UTC (rev 5941) @@ -21,6 +21,8 @@ * 4xx SoCs, such as the 440EP. */ #include "hw.h" +#include "ppc.h" +#include "ppc4xx.h" typedef target_phys_addr_t pci_addr_t; #include "pci.h" Modified: trunk/target-ppc/translate.c =================================================================== --- trunk/target-ppc/translate.c 2008-12-07 22:50:16 UTC (rev 5940) +++ trunk/target-ppc/translate.c 2008-12-07 23:00:00 UTC (rev 5941) @@ -3024,7 +3024,7 @@ #endif /*** Integer load and store with byte reverse ***/ /* lhbrx */ -void always_inline gen_qemu_ld16ur(TCGv t0, TCGv t1, int flags) +static void always_inline gen_qemu_ld16ur(TCGv t0, TCGv t1, int flags) { TCGv_i32 temp = tcg_temp_new_i32(); gen_qemu_ld16u(t0, t1, flags); @@ -3036,7 +3036,7 @@ GEN_LDX(lhbr, ld16ur, 0x16, 0x18, PPC_INTEGER); /* lwbrx */ -void always_inline gen_qemu_ld32ur(TCGv t0, TCGv t1, int flags) +static void always_inline gen_qemu_ld32ur(TCGv t0, TCGv t1, int flags) { TCGv_i32 temp = tcg_temp_new_i32(); gen_qemu_ld32u(t0, t1, flags); @@ -3048,7 +3048,7 @@ GEN_LDX(lwbr, ld32ur, 0x16, 0x10, PPC_INTEGER); /* sthbrx */ -void always_inline gen_qemu_st16r(TCGv t0, TCGv t1, int flags) +static void always_inline gen_qemu_st16r(TCGv t0, TCGv t1, int flags) { TCGv_i32 temp = tcg_temp_new_i32(); TCGv t2 = tcg_temp_new(); @@ -3063,7 +3063,7 @@ GEN_STX(sthbr, st16r, 0x16, 0x1C, PPC_INTEGER); /* stwbrx */ -void always_inline gen_qemu_st32r(TCGv t0, TCGv t1, int flags) +static void always_inline gen_qemu_st32r(TCGv t0, TCGv t1, int flags) { TCGv_i32 temp = tcg_temp_new_i32(); TCGv t2 = tcg_temp_new();