aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/machineconfig.cpp
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-25 15:25:59 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-25 15:26:32 +0100
commit9713d030bb1696269c3348cac83e13306edd65cf (patch)
treef57970edbc9ef607c4209ebcae7fbf64214bb8a6 /qtmips_machine/machineconfig.cpp
parent3774592f02121ce749c1d5ac4210bd6772475305 (diff)
downloadqtmips-9713d030bb1696269c3348cac83e13306edd65cf.tar.gz
qtmips-9713d030bb1696269c3348cac83e13306edd65cf.tar.bz2
qtmips-9713d030bb1696269c3348cac83e13306edd65cf.zip
Correct write through spelling. Reported by Richard Susta.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/machineconfig.cpp')
-rw-r--r--qtmips_machine/machineconfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_machine/machineconfig.cpp b/qtmips_machine/machineconfig.cpp
index 272a7a6..c926348 100644
--- a/qtmips_machine/machineconfig.cpp
+++ b/qtmips_machine/machineconfig.cpp
@@ -55,7 +55,7 @@ using namespace machine;
#define DFC_BLOCKS 1
#define DFC_ASSOC 1
#define DFC_REPLAC RP_RAND
-#define DFC_WRITE WP_TROUGH_NOALLOC
+#define DFC_WRITE WP_THROUGH_NOALLOC
//////////////////////////////////////////////////////////////////////////////
MachineConfigCache::MachineConfigCache() {
@@ -107,7 +107,7 @@ void MachineConfigCache::preset(enum ConfigPresets p) {
set_blocks(2);
set_associativity(2);
set_replacement_policy(RP_RAND);
- set_write_policy(WP_TROUGH_NOALLOC);
+ set_write_policy(WP_THROUGH_NOALLOC);
break;
case CP_SINGLE:
case CP_PIPE_NO_HAZARD: