X86: Make the TSS type check actually return a fault if it fails.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 25 Feb 2009 18:21:14 +0000 (10:21 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 25 Feb 2009 18:21:14 +0000 (10:21 -0800)
src/arch/x86/isa/microops/regop.isa

index 7c2feb398585f1e309b20345f3670bff542235fc..d5eb59f116a845da3da62da81b6a9fbd41294bb0 100644 (file)
@@ -1171,7 +1171,7 @@ let {{
                 } else if (!(desc.type == 0x9 ||
                         (desc.type == 1 &&
                          m5reg.mode != LongMode))) {
-
+                    fault = new GeneralProtection(selector);
                 }
                 break;
               default: