From: Gabe Black Date: Thu, 17 Sep 2009 02:28:30 +0000 (-0700) Subject: X86: Fix checking the NT bit during an IRET. X-Git-Tag: stable_2012_02_02~1743 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=239f1dea31144d8ea35065c8e037b88298db616f;p=gem5.git X86: Fix checking the NT bit during an IRET. --- diff --git a/src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py b/src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py index a9ad611b7..1c0650683 100644 --- a/src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py +++ b/src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py @@ -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