summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-04-19 03:40:08 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-04-19 03:40:08 -0700
commita0cc081997759399a124e47e637006d0b4fc15ac (patch)
tree9e242d5653901ec7819c1e827abd785f0df663dc /src/arch
parentf2ff5b92498fef9e7a3730ce1cc8df33c28c0d2d (diff)
downloadgem5-a0cc081997759399a124e47e637006d0b4fc15ac.tar.xz
X86: Fix a bug in the chks microop where it ignored that it found a fault.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/isa/microops/regop.isa1
1 files changed, 1 insertions, 0 deletions
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: