From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6qV5-0005m6-56 for qemu-devel@nongnu.org; Sun, 30 Nov 2008 12:54:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6qV4-0005lI-98 for qemu-devel@nongnu.org; Sun, 30 Nov 2008 12:54:30 -0500 Received: from [199.232.76.173] (port=50467 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6qV3-0005l7-Vf for qemu-devel@nongnu.org; Sun, 30 Nov 2008 12:54:30 -0500 Received: from savannah.gnu.org ([199.232.41.3]:35602 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 1L6qV3-0002iN-Er for qemu-devel@nongnu.org; Sun, 30 Nov 2008 12:54:29 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L6qV2-0002Ho-ST for qemu-devel@nongnu.org; Sun, 30 Nov 2008 17:54:28 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L6qV2-0002Hk-M2 for qemu-devel@nongnu.org; Sun, 30 Nov 2008 17:54:28 +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, 30 Nov 2008 17:54:28 +0000 Subject: [Qemu-devel] [5838] target-ppc: remove unused file op_mem_access.h 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: 5838 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5838 Author: aurel32 Date: 2008-11-30 17:54:28 +0000 (Sun, 30 Nov 2008) Log Message: ----------- target-ppc: remove unused file op_mem_access.h Signed-off-by: Aurelien Jarno Removed Paths: ------------- trunk/target-ppc/op_mem_access.h Deleted: trunk/target-ppc/op_mem_access.h =================================================================== --- trunk/target-ppc/op_mem_access.h 2008-11-30 17:54:21 UTC (rev 5837) +++ trunk/target-ppc/op_mem_access.h 2008-11-30 17:54:28 UTC (rev 5838) @@ -1,148 +0,0 @@ -/* - * PowerPC emulation memory access helpers for qemu. - * - * Copyright (c) 2003-2007 Jocelyn Mayer - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* 8 bits accesses */ -static always_inline target_ulong glue(ldu8, MEMSUFFIX) (target_ulong EA) -{ - return (uint8_t)glue(ldub, MEMSUFFIX)(EA); -} - -static always_inline target_long glue(lds8, MEMSUFFIX) (target_ulong EA) -{ - return (int8_t)glue(ldsb, MEMSUFFIX)(EA); -} - -static always_inline void glue(st8, MEMSUFFIX) (target_ulong EA, uint8_t val) -{ - glue(stb, MEMSUFFIX)(EA, val); -} - -/* 16 bits accesses */ -static always_inline target_ulong glue(ldu16, MEMSUFFIX) (target_ulong EA) -{ - return (uint16_t)glue(lduw, MEMSUFFIX)(EA); -} - -static always_inline target_long glue(lds16, MEMSUFFIX) (target_ulong EA) -{ - return (int16_t)glue(ldsw, MEMSUFFIX)(EA); -} - -static always_inline void glue(st16, MEMSUFFIX) (target_ulong EA, uint16_t val) -{ - glue(stw, MEMSUFFIX)(EA, val); -} - -static always_inline target_ulong glue(ldu16r, MEMSUFFIX) (target_ulong EA) -{ - return (uint16_t)bswap16(glue(lduw, MEMSUFFIX)(EA)); -} - -static always_inline target_long glue(lds16r, MEMSUFFIX) (target_ulong EA) -{ - return (int16_t)bswap16(glue(lduw, MEMSUFFIX)(EA)); -} - -static always_inline void glue(st16r, MEMSUFFIX) (target_ulong EA, uint16_t val) -{ - glue(stw, MEMSUFFIX)(EA, bswap16(val)); -} - -/* 32 bits accesses */ -static always_inline uint32_t glue(__ldul, MEMSUFFIX) (target_ulong EA) -{ - return (uint32_t)glue(ldl, MEMSUFFIX)(EA); -} - -static always_inline int32_t glue(__ldsl, MEMSUFFIX) (target_ulong EA) -{ - return (int32_t)glue(ldl, MEMSUFFIX)(EA); -} - -static always_inline target_ulong glue(ldu32, MEMSUFFIX) (target_ulong EA) -{ - return glue(__ldul, MEMSUFFIX)(EA); -} - -static always_inline target_long glue(lds32, MEMSUFFIX) (target_ulong EA) -{ - return glue(__ldsl, MEMSUFFIX)(EA); -} - -static always_inline void glue(st32, MEMSUFFIX) (target_ulong EA, uint32_t val) -{ - glue(stl, MEMSUFFIX)(EA, val); -} - -static always_inline target_ulong glue(ldu32r, MEMSUFFIX) (target_ulong EA) -{ - return bswap32(glue(__ldul, MEMSUFFIX)(EA)); -} - -static always_inline target_long glue(lds32r, MEMSUFFIX) (target_ulong EA) -{ - return (int32_t)bswap32(glue(__ldul, MEMSUFFIX)(EA)); -} - -static always_inline void glue(st32r, MEMSUFFIX) (target_ulong EA, uint32_t val) -{ - glue(stl, MEMSUFFIX)(EA, bswap32(val)); -} - -/* 64 bits accesses */ -static always_inline uint64_t glue(__lduq, MEMSUFFIX) (target_ulong EA) -{ - return (uint64_t)glue(ldq, MEMSUFFIX)(EA); -} - -static always_inline int64_t glue(__ldsq, MEMSUFFIX) (target_ulong EA) -{ - return (int64_t)glue(ldq, MEMSUFFIX)(EA); -} - -static always_inline uint64_t glue(ldu64, MEMSUFFIX) (target_ulong EA) -{ - return glue(__lduq, MEMSUFFIX)(EA); -} - -static always_inline int64_t glue(lds64, MEMSUFFIX) (target_ulong EA) -{ - return glue(__ldsq, MEMSUFFIX)(EA); -} - -static always_inline void glue(st64, MEMSUFFIX) (target_ulong EA, uint64_t val) -{ - glue(stq, MEMSUFFIX)(EA, val); -} - -static always_inline uint64_t glue(ldu64r, MEMSUFFIX) (target_ulong EA) -{ - return bswap64(glue(__lduq, MEMSUFFIX)(EA)); -} - -static always_inline int64_t glue(lds64r, MEMSUFFIX) (target_ulong EA) -{ - return (int64_t)bswap64(glue(__lduq, MEMSUFFIX)(EA)); -} - -static always_inline void glue(st64r, MEMSUFFIX) (target_ulong EA, uint64_t val) -{ - glue(stq, MEMSUFFIX)(EA, bswap64(val)); -}