From 74122c04cf8105d507f390c456c6e3c113b5a56e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 10 Apr 2007 17:27:12 +0000 Subject: [PATCH] Even if you don't want to fetch more bytes, make sure you handle a fault. --HG-- extra : convert_revision : cfebc877b9b2ebc8927ce8267867eb40ad6d59c6 --- src/cpu/simple/atomic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }