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

@@ -331,8 +331,8 @@ def send_evicts(options):
# 2. The x86 mwait instruction is built on top of coherence invalidations
# 3. The local exclusive monitor in ARM systems
if isinstance(
options.cpu_type, DerivO3CPU
) or ObjectList.CPUList().get_isa(options.cpu_type) in [ISA.X86, ISA.ARM]:
if isinstance(options.cpu_type, DerivO3CPU) or ObjectList.cpu_list.get_isa(
options.cpu_type
) in [ISA.X86, ISA.ARM]:
return True
return False