aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/memory.cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-08 12:51:06 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-08 12:51:06 +0200
commit179a1346a833d0039de5b0570f27045511b30dc4 (patch)
tree0cded071d1add05ace0a4adb50703b5ceddb7846 /qtmips_machine/memory.cpp
parent22ac74687c561e9d6a12eae5e8badecce57e54ff (diff)
downloadqtmips-179a1346a833d0039de5b0570f27045511b30dc4.tar.gz
qtmips-179a1346a833d0039de5b0570f27045511b30dc4.tar.bz2
qtmips-179a1346a833d0039de5b0570f27045511b30dc4.zip
Implement sync for memory
Diffstat (limited to 'qtmips_machine/memory.cpp')
-rw-r--r--qtmips_machine/memory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/memory.cpp b/qtmips_machine/memory.cpp
index f22c5f2..9ab7ef6 100644
--- a/qtmips_machine/memory.cpp
+++ b/qtmips_machine/memory.cpp
@@ -85,6 +85,8 @@ std::uint32_t MemoryAccess::read_ctl(enum MemoryAccess::AccessControl ctl, std::
}
}
+void MemoryAccess::sync() { }
+
MemorySection::MemorySection(std::uint32_t length) {
this->len = length;
this->dt = new std::uint32_t[length];