aboutsummaryrefslogtreecommitdiff
path: root/src/simulator.rs
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2016-01-24 15:55:50 -0500
committerDavid Li <li.davidm96@gmail.com>2016-01-24 15:55:50 -0500
commitc1fd66af614a1996d8e20f0e2789521de52dfc19 (patch)
tree52c449f2f64b3c5c061e5bafbe2d80de33076feb /src/simulator.rs
parent210fff77d5ec0ab172aee309323168a052d489c3 (diff)
Provide API to react to cache events
Diffstat (limited to 'src/simulator.rs')
-rw-r--r--src/simulator.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simulator.rs b/src/simulator.rs
index 9071599..005dd0e 100644
--- a/src/simulator.rs
+++ b/src/simulator.rs
@@ -14,9 +14,10 @@
// You should have received a copy of the GNU General Public License
// along with rustv. If not, see <http://www.gnu.org/licenses/>.
+use cache::SharedCache;
use isa;
use isa::IsaType;
-use memory::{MemoryInterface, MemoryError, Mmu, SharedCache, SharedMemory};
+use memory::{MemoryInterface, MemoryError, Mmu, SharedMemory};
use register_file::RegisterFile;
use syscall::SyscallHandler;
use trap::Trap;