summaryrefslogtreecommitdiff
path: root/src/mem/mport.cc
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-06-18 16:10:22 +0200
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-06-18 16:10:22 +0200
commit46a8cbbb7f55e92943cc26266edd98c774edadac (patch)
treeb43adf8ac01539ffbae37748f298e638ee6fe1b8 /src/mem/mport.cc
parentde89e133d8a3f92d9f2f99d0d8bcca50e9da6cb4 (diff)
downloadgem5-46a8cbbb7f55e92943cc26266edd98c774edadac.tar.xz
x86: Add helper functions to access rflags
The rflags register is spread across several different registers. Most of the flags are stored in MISCREG_RFLAGS, but some are stored in microcode registers. When accessing RFLAGS, we need to reconstruct it from these registers. This changeset adds two functions, X86ISA::getRFlags() and X86ISA::setRFlags(), that take care of this magic.
Diffstat (limited to 'src/mem/mport.cc')
0 files changed, 0 insertions, 0 deletions