aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIván Budnik <ivanbuper@google.com>2023-03-10 11:43:21 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-03-10 11:43:21 +0000
commitf2ff0b221add6fd003910298a92bd8f15c125cff (patch)
tree36ab167c349a9610fe19a7caf48c2ecb6e625fec
parentd894b78a3e9ceb56de26643faacfec5d40575b61 (diff)
downloadcuttlefish-f2ff0b221add6fd003910298a92bd8f15c125cff.tar.gz
Revert "Removed walk_cache_class which was removed in gem5 repository."
This reverts commit d894b78a3e9ceb56de26643faacfec5d40575b61. Reason for revert: DroidMonitor: Potential culprit for b/272675287, verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: Iefd2c7fc88bcf33b020d058996e19c97a982cefd
-rw-r--r--host/libs/vm_manager/gem5_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/libs/vm_manager/gem5_manager.cpp b/host/libs/vm_manager/gem5_manager.cpp
index 615eae34d..e8d02b5d5 100644
--- a/host/libs/vm_manager/gem5_manager.cpp
+++ b/host/libs/vm_manager/gem5_manager.cpp
@@ -100,7 +100,7 @@ void GenerateGem5File(const CuttlefishConfig& config,
starter_fs_ofstream << fs_mem_pci;
// system settings
- starter_fs_ofstream << " root.system.cpu_cluster = [devices.CpuCluster(root.system, " << num_cores << ", \"" << cpu_freq << "\", \"1.0V\", " << cpu_class << ", " << l1_icache_class << ", " << l1_dcache_class << ", " << l2_Cache_class << ")]\n";
+ starter_fs_ofstream << " root.system.cpu_cluster = [devices.CpuCluster(root.system, " << num_cores << ", \"" << cpu_freq << "\", \"1.0V\", " << cpu_class << ", " << l1_icache_class << ", " << l1_dcache_class << ", " << walk_cache_class << ", " << l2_Cache_class << ")]\n";
starter_fs_ofstream << " root.system.addCaches(has_caches, last_cache_level=2)\n";
starter_fs_ofstream << " root.system.realview.setupBootLoader(root.system, SysPaths.binary)\n";
starter_fs_ofstream << " root.system.workload.dtb_filename = os.path.join(m5.options.outdir, 'system.dtb')\n";