From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9aEU-000839-LT for qemu-devel@nongnu.org; Thu, 06 Sep 2012 07:26:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9aEO-0000rH-25 for qemu-devel@nongnu.org; Thu, 06 Sep 2012 07:26:50 -0400 Received: from 38.0.169.217.in-addr.arpa ([217.169.0.38]:34554 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9aEN-0000ql-SP for qemu-devel@nongnu.org; Thu, 06 Sep 2012 07:26:44 -0400 From: Peter Maydell Date: Thu, 6 Sep 2012 11:41:39 +0100 Message-Id: <1346928101-12958-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/2] clean up cpu_dump_state flags List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org This is a small cleanup patchset which moves some cpu_dump_state flags from being x86 only to being generic, since the extra info they ask for is not particularly x86 specific (many of our target architectures have an fpu, and similarly several implement the TCG condition-code optimisation). This allows us to remove some ugly TARGET_I386 ifdefs from target-independent code. I've also implemented the DUMP_FPU flag for ARM, by reinstating (somewhat modified) some code which had been #if'd out for years. There should be no behaviour change for other architectures. Changes v1->v2: none, just rebased on master (since the v1 patch only applied with fuzzing) Peter Maydell (2): cpu_dump_state: move DUMP_FPU and DUMP_CCOP flags from x86-only to generic target-arm: Reinstate display of VFP registers in cpu_dump_state cpu-all.h | 3 +++ cpu-exec.c | 2 +- cpus.c | 6 +----- exec.c | 12 ++---------- monitor.c | 8 +------- target-arm/translate.c | 42 ++++++++++++++++-------------------------- target-i386/cpu.c | 2 +- target-i386/cpu.h | 4 ---- target-i386/helper.c | 4 ++-- target-i386/seg_helper.c | 4 ++-- target-i386/smm_helper.c | 4 ++-- 11 files changed, 31 insertions(+), 60 deletions(-) -- 1.7.9.5