From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsBBT-0008R0-0A for qemu-devel@nongnu.org; Fri, 30 Oct 2015 11:01:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsBBL-0001nX-F2 for qemu-devel@nongnu.org; Fri, 30 Oct 2015 11:01:38 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:13681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsBBL-0001nS-A7 for qemu-devel@nongnu.org; Fri, 30 Oct 2015 11:01:31 -0400 Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Websense Email Security Gateway with ESMTPS id 0D1AEE983176A for ; Fri, 30 Oct 2015 15:01:28 +0000 (GMT) From: Leon Alrae Date: Fri, 30 Oct 2015 15:00:47 +0000 Message-ID: <1446217252-3637-5-git-send-email-leon.alrae@imgtec.com> In-Reply-To: <1446217252-3637-1-git-send-email-leon.alrae@imgtec.com> References: <1446217252-3637-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PULL 4/9] target-mips: Add enum for BREAK32 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Yongbok Kim From: Yongbok Kim Add enum for BREAK32 Signed-off-by: Yongbok Kim Reviewed-by: Leon Alrae Reviewed-by: Aurelien Jarno Signed-off-by: Leon Alrae --- target-mips/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index a10bfa3..3105c7f 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -12009,6 +12009,7 @@ enum { MODU = 0x7, /* The following can be distinguished by their lower 6 bits. */ + BREAK32 = 0x07, INS = 0x0c, LSA = 0x0f, ALIGN = 0x1f, @@ -13629,7 +13630,7 @@ static void decode_micromips32_opc(CPUMIPSState *env, DisasContext *ctx) case POOL32AXF: gen_pool32axf(env, ctx, rt, rs); break; - case 0x07: + case BREAK32: generate_exception_end(ctx, EXCP_BREAK); break; default: -- 2.1.0