aboutsummaryrefslogtreecommitdiff
path: root/src/simulator.rs
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2015-12-31 19:16:02 -0700
committerDavid Li <li.davidm96@gmail.com>2015-12-31 19:16:02 -0700
commit9380538d5de60b7167053a0ffcffdc0ff3882608 (patch)
tree33ab22e1ba309adb6bbcfedc56e6f9a13b8457dd /src/simulator.rs
parentf0f6c4a511d08b0cc953631ae958d360c4d16b2c (diff)
Finish DirectMappedCache.step
Diffstat (limited to 'src/simulator.rs')
-rw-r--r--src/simulator.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simulator.rs b/src/simulator.rs
index 27e543a..2238421 100644
--- a/src/simulator.rs
+++ b/src/simulator.rs
@@ -28,6 +28,7 @@ pub struct Core<'a> {
pc: isa::Address,
registers: RegisterFile,
running: bool,
+ // TODO: change to memory::SharedMemory
cache: Rc<RefCell<Box<MemoryInterface + 'a>>>,
}