arch-riscv, arch-x86: Define unique PageTableWalker flag

Rather than defining multiple flags (one per ISA), we should define
a single PageTableWalker flag shared by all ISAs

Change-Id: Iad460bcd9a69d5c6f90443e43feec318429165aa
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/44965
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Giacomo Travaglini
2021-04-28 18:20:23 +01:00
parent 794f9c2a26
commit ba1473f2a9
3 changed files with 2 additions and 4 deletions

View File

@@ -47,6 +47,8 @@ SimObject('BaseMMU.py')
SimObject('BaseTLB.py')
SimObject('ISACommon.py')
DebugFlag('PageTableWalker',
"Page table walker state machine debugging")
DebugFlag('TLB')
if env['TARGET_ISA'] == 'null':

View File

@@ -75,8 +75,6 @@ if env['TARGET_ISA'] == 'riscv':
DebugFlag('RiscvMisc')
DebugFlag('TLBVerbose')
DebugFlag('PMP')
DebugFlag('PageTableWalker', \
"Page table walker state machine debugging")
# Add in files generated by the ISA description.
ISADesc('isa/main.isa')

View File

@@ -77,8 +77,6 @@ SimObject('X86TLB.py')
DebugFlag('Faults', "Trace all faults/exceptions/traps")
DebugFlag('LocalApic', "Local APIC debugging")
DebugFlag('PageTableWalker', \
"Page table walker state machine debugging")
DebugFlag('Decoder', "Decoder debug output")
DebugFlag('X86', "Generic X86 ISA debugging")