diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-04-10 17:27:12 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-04-10 17:27:12 +0000 |
commit | 74122c04cf8105d507f390c456c6e3c113b5a56e (patch) | |
tree | 4ab00666f46660eb7c72621c9bec5e124206b7ad | |
parent | 798caa36adcb5894c87a97e0898f85df6093d8b7 (diff) | |
download | gem5-74122c04cf8105d507f390c456c6e3c113b5a56e.tar.xz |
Even if you don't want to fetch more bytes, make sure you handle a fault.
--HG--
extra : convert_revision : cfebc877b9b2ebc8927ce8267867eb40ad6d59c6
-rw-r--r-- | src/cpu/simple/atomic.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/simple/atomic.cc b/src/cpu/simple/atomic.cc index 6f69b5ac4..b0a01c3a3 100644 --- a/src/cpu/simple/atomic.cc +++ b/src/cpu/simple/atomic.cc @@ -557,7 +557,7 @@ AtomicSimpleCPU::tick() } } - if(predecoder.needMoreBytes()) + if(predecoder.needMoreBytes() || fault != NoFault) advancePC(fault); } |