From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F9mA5-0001lh-Gk for qemu-devel@nongnu.org; Thu, 16 Feb 2006 11:39:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F9m81-0007BT-5x for qemu-devel@nongnu.org; Thu, 16 Feb 2006 11:37:14 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9m4L-000574-4x for qemu-devel@nongnu.org; Thu, 16 Feb 2006 11:33:25 -0500 Received: from [193.7.176.20] (helo=bender.bawue.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1F9m9V-0003Pf-2v for qemu-devel@nongnu.org; Thu, 16 Feb 2006 11:38:45 -0500 Received: from lagash (unknown [194.74.144.146]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by bender.bawue.de (Postfix) with ESMTP id 955AF44FD2 for ; Thu, 16 Feb 2006 17:33:23 +0100 (MET) Received: from ths by lagash with local (Exim 4.60) (envelope-from ) id 1F9m4c-0000Pn-Tg for qemu-devel@nongnu.org; Thu, 16 Feb 2006 16:33:42 +0000 Date: Thu, 16 Feb 2006 16:33:42 +0000 Message-ID: <20060216163342.GC23684@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline From: Thiemo Seufer Subject: [Qemu-devel] [PATCH] Rename MIPS_HFLAGS_TMASK 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 Hello All, this renames MIPS_HFLAG(S)_TMASK for consistency. Thiemo Index: cpu-exec.c =================================================================== RCS file: /sources/qemu/qemu/cpu-exec.c,v retrieving revision 1.73 diff -u -p -r1.73 cpu-exec.c --- cpu-exec.c 8 Feb 2006 22:43:39 -0000 1.73 +++ cpu-exec.c 16 Feb 2006 15:21:03 -0000 @@ -185,7 +185,7 @@ static inline TranslationBlock *tb_find_ cs_base = 0; pc = env->nip; #elif defined(TARGET_MIPS) - flags = env->hflags & (MIPS_HFLAGS_TMASK | MIPS_HFLAG_BMASK); + flags = env->hflags & (MIPS_HFLAG_TMASK | MIPS_HFLAG_BMASK); cs_base = 0; pc = env->PC; #else Index: target-mips/cpu.h =================================================================== RCS file: /sources/qemu/qemu/target-mips/cpu.h,v retrieving revision 1.4 diff -u -p -r1.4 cpu.h --- target-mips/cpu.h 5 Dec 2005 19:59:36 -0000 1.4 +++ target-mips/cpu.h 16 Feb 2006 15:21:04 -0000 @@ -146,7 +149,7 @@ struct CPUMIPSState { int user_mode_only; /* user mode only simulation */ uint32_t hflags; /* CPU State */ /* TMASK defines different execution modes */ -#define MIPS_HFLAGS_TMASK 0x00FF +#define MIPS_HFLAG_TMASK 0x007F #define MIPS_HFLAG_MODE 0x001F /* execution modes */ #define MIPS_HFLAG_UM 0x0001 /* user mode */ #define MIPS_HFLAG_ERL 0x0002 /* Error mode */