X86: Fix checking the NT bit during an IRET.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 17 Sep 2009 02:28:30 +0000 (19:28 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 17 Sep 2009 02:28:30 +0000 (19:28 -0700)
src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py

index a9ad611b74698b75adf7f229fa09841f573cf8a4..1c06506834a2f99b7aa444dcfcb0af7531feb429 100644 (file)
@@ -62,7 +62,7 @@ def macroop IRET_PROT {
     .adjust_env oszIn64Override
 
     # Check for a nested task. This isn't supported at the moment.
-    rflag t1, NT
+    rflag t1, 14; #NT bit
     panic "Task switching with iret is unimplemented!", flags=(nCEZF,)
 
     #t1 = temp_RIP