Received: from eggs.gnu.org ([208.118.235.92]:35511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuzHh-0005Jd-7B for qemu-devel@nongnu.org; Tue, 15 Jan 2013 00:42:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuzHf-0004Va-TR for qemu-devel@nongnu.org; Tue, 15 Jan 2013 00:42:05 -0500 Received: from [222.73.24.84] (port=7655 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuzHf-0004Um-CR for qemu-devel@nongnu.org; Tue, 15 Jan 2013 00:42:03 -0500 From: liguang Date: Tue, 15 Jan 2013 13:39:54 +0800 Message-Id: <1358228396-17552-1-git-send-email-lig.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] =?utf-8?q?=5BPATCH_v5_0/2=5D_target-i386=3A_define_d?= =?utf-8?q?r7_bit_filed_and_change_dr7_related_functions?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: afaerber@suse.de, peter.maydell@linaro.org, imammedo@redhat.com, qemu-devel@nongnu.org Cc: liguang the breakpoint related functions are a little hard to read for their implicit dr7 bit filed and not well organized logic, so try to define more readable bit filed for dr7 and clarify the breakpoint logic. changes v4->v5 - fix some not well formated changes. - split functional and non-functional changes for cherry-picking suggested by Andreas F=C3=A4rber changes v3->v4 - fix wrong logic of hw=5F{global,local}=5Fbreakpoint=5Fenabled usage suggested by Peter Maydell changes v2->v3 - split hw=5Fbreakpoint=5Fenabled into hw=5F{global,local}=5Fbreakpoint=5Fe= nabled changes v1->v2 - add =5FTYPE=5F to the name of dr7 bit field - fix some coding styles suggested by Peter Maydell target-i386/cpu.h | 19 ++++++ target-i386/helper.c | 76 +++++++++++++++++++++++++++++++++-------= --------- target-i386/machine.c | 5 +++-- target-i386/misc=5Fhelper.c | 4 ++-- target-i386/seg=5Fhelper.c | 9 +++++---- 5 files changed, 79 insertions(+), 34 deletions(-) =