summaryrefslogtreecommitdiff
path: root/src/cpu/simple/base.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-05-18 10:42:50 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-05-18 10:42:50 -0700
commit6a6e62014ec72f9dd29a42c3e92fbc91d6b1f648 (patch)
treedb91a2d6487e2e9c12aa8ce23245d44daa57e658 /src/cpu/simple/base.hh
parentc382bdf93d036aa97efda7a764a66f1bd36f7466 (diff)
downloadgem5-6a6e62014ec72f9dd29a42c3e92fbc91d6b1f648.tar.xz
Changes to make simple cpu handle pcs appropriately for x86
--HG-- extra : convert_revision : cf68886d53301e0a63705247bd7d66b2ff08ea84
Diffstat (limited to 'src/cpu/simple/base.hh')
-rw-r--r--src/cpu/simple/base.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu/simple/base.hh b/src/cpu/simple/base.hh
index 787259c96..b25790e92 100644
--- a/src/cpu/simple/base.hh
+++ b/src/cpu/simple/base.hh
@@ -137,6 +137,12 @@ class BaseSimpleCPU : public BaseCPU
StaticInstPtr curStaticInst;
StaticInstPtr curMacroStaticInst;
+ //This is the offset from the current pc that fetch should be performed at
+ Addr fetchOffset;
+ //This flag says to stay at the current pc. This is useful for
+ //instructions which go beyond MachInst boundaries.
+ bool stayAtPC;
+
void checkForInterrupts();
Fault setupFetchRequest(Request *req);
void preExecute();