aboutsummaryrefslogtreecommitdiffstats
path: root/vl.c
diff options
context:
space:
mode:
authorJack Veenstra <veenstra@android.com>2009-05-15 11:35:50 -0700
committerJack Veenstra <veenstra@android.com>2009-05-15 11:35:50 -0700
commite858242763a9939257b741df0708b24d9f3e3a74 (patch)
treee4794d0d5af976d07d587f96cf176b8faaa0bda6 /vl.c
parent9980bbb9965ee2df42f94aafa817e91835dad406 (diff)
downloadexternal_qemu-e858242763a9939257b741df0708b24d9f3e3a74.zip
external_qemu-e858242763a9939257b741df0708b24d9f3e3a74.tar.gz
external_qemu-e858242763a9939257b741df0708b24d9f3e3a74.tar.bz2
Remove the dcache from the emulator since we are not tracing loads and stores.
I commented out the call to create the dcache since we are not currently tracing loads and stores. This just does useless work and when it prints the dcache stats at the end the stats always show zero hits and misses.
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 0659b45..e6a0305 100644
--- a/vl.c
+++ b/vl.c
@@ -9688,9 +9688,13 @@ int main(int argc, char **argv)
#ifdef CONFIG_TRACE
if (trace_filename) {
trace_init(trace_filename);
+#if 0
+ // We don't need the dcache code until we can get load and store tracing
+ // working again.
dcache_init(dcache_size, dcache_ways, dcache_line_size,
dcache_replace_policy, dcache_load_miss_penalty,
dcache_store_miss_penalty);
+#endif
fprintf(stderr, "-- When done tracing, exit the emulator. --\n");
}
#endif