summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-09-16 19:28:30 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-09-16 19:28:30 -0700
commit239f1dea31144d8ea35065c8e037b88298db616f (patch)
treee5b3d7828fe255ab6a4b827fe3a4c7da0a737509 /src/arch/x86
parenteec6bfaa9de23b075762a62e57e46cd3f2f977ef (diff)
downloadgem5-239f1dea31144d8ea35065c8e037b88298db616f.tar.xz
X86: Fix checking the NT bit during an IRET.
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/isa/insts/general_purpose/control_transfer/interrupts_and_exceptions.py2
1 files changed, 1 insertions, 1 deletions
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