configs: Fix issues after get_runtime_isa() #241 removed (#652)

1. Fix the wrong ISA detect of get_isa function
2. Fix the typo ObjectLIst.cpu_list
3. Fix missing PageTableWalkerCache
4. Fix the invalid default cpu_type paramter

Change-Id: I217ea8da8a6d8e712743a5b32c4c0669216ce6c4
This commit is contained in:
Yu-Cheng Chang
2023-12-07 02:57:18 +08:00
committed by GitHub
parent f00d7f70a4
commit 9bd61f217f
10 changed files with 46 additions and 31 deletions

View File

@@ -81,9 +81,9 @@ def setCPUClass(options):
TmpClass, test_mem_mode = getCPUClass(options.restore_with_cpu)
elif options.fast_forward:
CPUClass = TmpClass
CPUISA = ObjectList.cpu_list.get_isa(options.cpu_type)
TmpClass = getCPUClass(
ObjectList.CPUList().get_isa(options.cpu_type).name
+ "AtomicSimpleCPU"
CpuConfig.isa_string_map[CPUISA] + "AtomicSimpleCPU"
)
test_mem_mode = "atomic"