From a0cc081997759399a124e47e637006d0b4fc15ac Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 19 Apr 2009 03:40:08 -0700 Subject: [PATCH] X86: Fix a bug in the chks microop where it ignored that it found a fault. --- src/arch/x86/isa/microops/regop.isa | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/x86/isa/microops/regop.isa b/src/arch/x86/isa/microops/regop.isa index f9bc82119..35227a4fb 100644 --- a/src/arch/x86/isa/microops/regop.isa +++ b/src/arch/x86/isa/microops/regop.isa @@ -1112,6 +1112,7 @@ let {{ // Check permissions. if (desc.dpl < m5reg.cpl) { fault = new GeneralProtection(selector); + break; } // Fall through on purpose case SegIntGateCheck: -- 2.30.2