aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/qtmipsmachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/qtmipsmachine.cpp')
-rw-r--r--qtmips_machine/qtmipsmachine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/qtmipsmachine.cpp b/qtmips_machine/qtmipsmachine.cpp
index 3d5ce98..7b44a7b 100644
--- a/qtmips_machine/qtmipsmachine.cpp
+++ b/qtmips_machine/qtmipsmachine.cpp
@@ -21,6 +21,8 @@ QtMipsMachine::QtMipsMachine(const MachineConfig &cc) {
coremem = mem;
//coremem = cch = new CacheAssociative();
break;
+ default:
+ throw QTMIPS_EXCEPTION(Sanity, "Trying to configure unknown cache type", "");
}
// TODO pipelined