From patchwork Fri Jul 13 11:07:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Guan Xuetao X-Patchwork-Id: 170854 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 857FA2C036B for ; Fri, 13 Jul 2012 21:17:22 +1000 (EST) Received: from localhost ([::1]:46646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Spds7-0008Q4-4b for incoming@patchwork.ozlabs.org; Fri, 13 Jul 2012 07:17:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Spdro-0008Pl-Fi for qemu-devel@nongnu.org; Fri, 13 Jul 2012 07:17:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Spdri-00065K-Dp for qemu-devel@nongnu.org; Fri, 13 Jul 2012 07:17:00 -0400 Received: from mprc.pku.edu.cn ([162.105.203.9]:34845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Spdrh-00064O-IY for qemu-devel@nongnu.org; Fri, 13 Jul 2012 07:16:54 -0400 Received: from linuxdev-32 ([162.105.203.8]) by mprc.pku.edu.cn (8.13.8/8.13.8) with ESMTP id q6DBxXhd023839; Fri, 13 Jul 2012 19:59:33 +0800 Received: by linuxdev-32 (Postfix, from userid 1000) id 6AF6E1460481; Fri, 13 Jul 2012 19:07:53 +0800 (CST) From: Guan Xuetao To: qemu-devel@nongnu.org Date: Fri, 13 Jul 2012 19:07:39 +0800 Message-Id: <9eab284b319e48fed678b30335cbdc1e8a3d1303.1342176596.git.gxt@mprc.pku.edu.cn> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by mprc.pku.edu.cn id q6DBxXhd023839 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 162.105.203.9 Cc: blauwirbel@gmail.com, =?UTF-8?q?Andreas=20F=C3=A4rber?= , chenwj@iis.sinica.edu.tw Subject: [Qemu-devel] [PATCHv4 04/14] target-unicore32: Drop UC32_CPUID macros X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Andreas Färber Any code that depends on a particular CPU type can now go through callbacks on the QOM UniCore32CPUClass. Signed-off-by: Andreas Färber --- target-unicore32/cpu.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h index d14fde5..06508a1 100644 --- a/target-unicore32/cpu.h +++ b/target-unicore32/cpu.h @@ -122,10 +122,6 @@ void cpu_asr_write(CPUUniCore32State *env1, target_ulong val, target_ulong mask) #define UC32_HWCAP_CMOV 4 /* 1 << 2 */ #define UC32_HWCAP_UCF64 8 /* 1 << 3 */ -#define UC32_CPUID(env) (env->cp0.c0_cpuid) -#define UC32_CPUID_UCV2 0x40010863 -#define UC32_CPUID_ANY 0xffffffff - #define cpu_init uc32_cpu_init #define cpu_exec uc32_cpu_exec #define cpu_signal_handler uc32_cpu_signal_handler