projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1fe20
)
X86: Fix chks checking the submode for stack segments.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 13 Oct 2008 03:29:52 +0000
(20:29 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 13 Oct 2008 03:29:52 +0000
(20:29 -0700)
src/arch/x86/isa/microops/regop.isa
patch
|
blob
|
history
diff --git
a/src/arch/x86/isa/microops/regop.isa
b/src/arch/x86/isa/microops/regop.isa
index 4f93fad8050ae401f547be494a8cf15d0b517e9a..b7883b2e2a3f6f9f5f96bd153ebda07f23ffb5a0 100644
(file)
--- a/
src/arch/x86/isa/microops/regop.isa
+++ b/
src/arch/x86/isa/microops/regop.isa
@@
-1048,7
+1048,8
@@
let {{
return new StackFault;
}
} else {
- if ((m5reg.mode != SixtyFourBitMode || m5reg.cpl == 3) ||
+ if ((m5reg.submode != SixtyFourBitMode ||
+ m5reg.cpl == 3) ||
!(desc.s == 1 &&
desc.type.codeOrData == 0 && desc.type.w) ||
(desc.dpl != m5reg.cpl) ||