aboutsummaryrefslogtreecommitdiffstats
path: root/dcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'dcache.c')
-rw-r--r--dcache.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/dcache.c b/dcache.c
index 7a55d0c..56426ee 100644
--- a/dcache.c
+++ b/dcache.c
@@ -20,6 +20,13 @@
extern FILE *ftrace_debug;
+int dcache_size = 16 * 1024;
+int dcache_ways = 4;
+int dcache_line_size = 32;
+int dcache_replace_policy = kPolicyRandom;
+int dcache_load_miss_penalty = 30;
+int dcache_store_miss_penalty = 5;
+
typedef struct Dcache {
int size;
int ways;