scons: rename TraceFlags to DebugFlags
This commit is contained in:
parent
f49f384fe4
commit
2b1aa35e20
30 changed files with 185 additions and 187 deletions
|
@ -270,7 +270,6 @@ def DebugFlag(name, desc=None):
|
||||||
if name in debug_flags:
|
if name in debug_flags:
|
||||||
raise AttributeError, "Flag %s already specified" % name
|
raise AttributeError, "Flag %s already specified" % name
|
||||||
debug_flags[name] = (name, (), desc)
|
debug_flags[name] = (name, (), desc)
|
||||||
TraceFlag = DebugFlag
|
|
||||||
|
|
||||||
def CompoundFlag(name, flags, desc=None):
|
def CompoundFlag(name, flags, desc=None):
|
||||||
if name in debug_flags:
|
if name in debug_flags:
|
||||||
|
@ -280,7 +279,6 @@ def CompoundFlag(name, flags, desc=None):
|
||||||
debug_flags[name] = (name, compound, desc)
|
debug_flags[name] = (name, compound, desc)
|
||||||
|
|
||||||
Export('DebugFlag')
|
Export('DebugFlag')
|
||||||
Export('TraceFlag')
|
|
||||||
Export('CompoundFlag')
|
Export('CompoundFlag')
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
|
@ -126,7 +126,7 @@ isa_desc_builder = Builder(action=isa_desc_action, emitter=isa_desc_emitter)
|
||||||
|
|
||||||
env.Append(BUILDERS = { 'ISADesc' : isa_desc_builder })
|
env.Append(BUILDERS = { 'ISADesc' : isa_desc_builder })
|
||||||
|
|
||||||
TraceFlag('IntRegs')
|
DebugFlag('IntRegs')
|
||||||
TraceFlag('FloatRegs')
|
DebugFlag('FloatRegs')
|
||||||
TraceFlag('MiscRegs')
|
DebugFlag('MiscRegs')
|
||||||
CompoundFlag('Registers', [ 'IntRegs', 'FloatRegs', 'MiscRegs' ])
|
CompoundFlag('Registers', [ 'IntRegs', 'FloatRegs', 'MiscRegs' ])
|
||||||
|
|
|
@ -65,10 +65,10 @@ if env['TARGET_ISA'] == 'arm':
|
||||||
SimObject('ArmNativeTrace.py')
|
SimObject('ArmNativeTrace.py')
|
||||||
SimObject('ArmTLB.py')
|
SimObject('ArmTLB.py')
|
||||||
|
|
||||||
TraceFlag('Arm')
|
DebugFlag('Arm')
|
||||||
TraceFlag('TLBVerbose')
|
DebugFlag('TLBVerbose')
|
||||||
TraceFlag('Faults', "Trace Exceptions, interrupts, svc/swi")
|
DebugFlag('Faults', "Trace Exceptions, interrupts, svc/swi")
|
||||||
TraceFlag('Predecoder', "Instructions returned by the predecoder")
|
DebugFlag('Predecoder', "Instructions returned by the predecoder")
|
||||||
if env['FULL_SYSTEM']:
|
if env['FULL_SYSTEM']:
|
||||||
Source('interrupts.cc')
|
Source('interrupts.cc')
|
||||||
Source('stacktrace.cc')
|
Source('stacktrace.cc')
|
||||||
|
|
|
@ -41,7 +41,7 @@ if env['TARGET_ISA'] == 'mips':
|
||||||
Source('dsp.cc')
|
Source('dsp.cc')
|
||||||
|
|
||||||
SimObject('MipsTLB.py')
|
SimObject('MipsTLB.py')
|
||||||
TraceFlag('MipsPRA')
|
DebugFlag('MipsPRA')
|
||||||
|
|
||||||
if env['FULL_SYSTEM']:
|
if env['FULL_SYSTEM']:
|
||||||
SimObject('MipsSystem.py')
|
SimObject('MipsSystem.py')
|
||||||
|
|
|
@ -45,7 +45,7 @@ if env['TARGET_ISA'] == 'power':
|
||||||
Source('utility.cc')
|
Source('utility.cc')
|
||||||
|
|
||||||
SimObject('PowerTLB.py')
|
SimObject('PowerTLB.py')
|
||||||
TraceFlag('Power')
|
DebugFlag('Power')
|
||||||
|
|
||||||
if not env['FULL_SYSTEM']:
|
if not env['FULL_SYSTEM']:
|
||||||
Source('process.cc')
|
Source('process.cc')
|
||||||
|
|
|
@ -44,8 +44,8 @@ if env['TARGET_ISA'] == 'sparc':
|
||||||
SimObject('SparcNativeTrace.py')
|
SimObject('SparcNativeTrace.py')
|
||||||
|
|
||||||
SimObject('SparcTLB.py')
|
SimObject('SparcTLB.py')
|
||||||
TraceFlag('Sparc', "Generic SPARC ISA stuff")
|
DebugFlag('Sparc', "Generic SPARC ISA stuff")
|
||||||
TraceFlag('RegisterWindows', "Register window manipulation")
|
DebugFlag('RegisterWindows', "Register window manipulation")
|
||||||
|
|
||||||
if env['FULL_SYSTEM']:
|
if env['FULL_SYSTEM']:
|
||||||
SimObject('SparcSystem.py')
|
SimObject('SparcSystem.py')
|
||||||
|
|
|
@ -66,14 +66,14 @@ if env['TARGET_ISA'] == 'x86':
|
||||||
SimObject('X86NativeTrace.py')
|
SimObject('X86NativeTrace.py')
|
||||||
|
|
||||||
SimObject('X86TLB.py')
|
SimObject('X86TLB.py')
|
||||||
TraceFlag('Predecoder', "Predecoder debug output")
|
DebugFlag('Predecoder', "Predecoder debug output")
|
||||||
TraceFlag('X86', "Generic X86 ISA debugging")
|
DebugFlag('X86', "Generic X86 ISA debugging")
|
||||||
|
|
||||||
if env['FULL_SYSTEM']:
|
if env['FULL_SYSTEM']:
|
||||||
TraceFlag('LocalApic', "Local APIC debugging")
|
DebugFlag('LocalApic', "Local APIC debugging")
|
||||||
TraceFlag('PageTableWalker', \
|
DebugFlag('PageTableWalker', \
|
||||||
"Page table walker state machine debugging")
|
"Page table walker state machine debugging")
|
||||||
TraceFlag('Faults', "Trace all faults/exceptions/traps")
|
DebugFlag('Faults', "Trace all faults/exceptions/traps")
|
||||||
|
|
||||||
SimObject('X86LocalApic.py')
|
SimObject('X86LocalApic.py')
|
||||||
SimObject('X86System.py')
|
SimObject('X86System.py')
|
||||||
|
|
|
@ -73,18 +73,18 @@ Source('loader/symtab.cc')
|
||||||
|
|
||||||
Source('stats/text.cc')
|
Source('stats/text.cc')
|
||||||
|
|
||||||
TraceFlag('Annotate', "State machine annotation debugging")
|
DebugFlag('Annotate', "State machine annotation debugging")
|
||||||
TraceFlag('AnnotateQ', "State machine annotation queue debugging")
|
DebugFlag('AnnotateQ', "State machine annotation queue debugging")
|
||||||
TraceFlag('AnnotateVerbose', "Dump all state machine annotation details")
|
DebugFlag('AnnotateVerbose', "Dump all state machine annotation details")
|
||||||
TraceFlag('GDBAcc', "Remote debugger accesses")
|
DebugFlag('GDBAcc', "Remote debugger accesses")
|
||||||
TraceFlag('GDBExtra', "Dump extra information on reads and writes")
|
DebugFlag('GDBExtra', "Dump extra information on reads and writes")
|
||||||
TraceFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
|
DebugFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
|
||||||
TraceFlag('GDBRead', "Reads to the remote address space")
|
DebugFlag('GDBRead', "Reads to the remote address space")
|
||||||
TraceFlag('GDBRecv', "Messages received from the remote application")
|
DebugFlag('GDBRecv', "Messages received from the remote application")
|
||||||
TraceFlag('GDBSend', "Messages sent to the remote application")
|
DebugFlag('GDBSend', "Messages sent to the remote application")
|
||||||
TraceFlag('GDBWrite', "Writes to the remote address space")
|
DebugFlag('GDBWrite', "Writes to the remote address space")
|
||||||
TraceFlag('SQL', "SQL queries sent to the server")
|
DebugFlag('SQL', "SQL queries sent to the server")
|
||||||
TraceFlag('StatEvents', "Statistics event tracking")
|
DebugFlag('StatEvents', "Statistics event tracking")
|
||||||
|
|
||||||
CompoundFlag('GDBAll',
|
CompoundFlag('GDBAll',
|
||||||
[ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
|
[ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
|
||||||
|
|
|
@ -42,7 +42,7 @@ Import('*')
|
||||||
if env['FULL_SYSTEM']:
|
if env['FULL_SYSTEM']:
|
||||||
SimObject('VncServer.py')
|
SimObject('VncServer.py')
|
||||||
Source('vncserver.cc')
|
Source('vncserver.cc')
|
||||||
TraceFlag('VNC')
|
DebugFlag('VNC')
|
||||||
|
|
||||||
Source('convert.cc')
|
Source('convert.cc')
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ if env['FULL_SYSTEM']:
|
||||||
|
|
||||||
if env['USE_CHECKER']:
|
if env['USE_CHECKER']:
|
||||||
Source('checker/cpu.cc')
|
Source('checker/cpu.cc')
|
||||||
TraceFlag('Checker')
|
DebugFlag('Checker')
|
||||||
checker_supports = False
|
checker_supports = False
|
||||||
for i in CheckerSupportedCPUList:
|
for i in CheckerSupportedCPUList:
|
||||||
if i in env['CPU_MODELS']:
|
if i in env['CPU_MODELS']:
|
||||||
|
@ -149,32 +149,32 @@ if env['USE_CHECKER']:
|
||||||
print ", please set USE_CHECKER=False or use one of those CPU models"
|
print ", please set USE_CHECKER=False or use one of those CPU models"
|
||||||
Exit(1)
|
Exit(1)
|
||||||
|
|
||||||
TraceFlag('Activity')
|
DebugFlag('Activity')
|
||||||
TraceFlag('Commit')
|
DebugFlag('Commit')
|
||||||
TraceFlag('Context')
|
DebugFlag('Context')
|
||||||
TraceFlag('Decode')
|
DebugFlag('Decode')
|
||||||
TraceFlag('DynInst')
|
DebugFlag('DynInst')
|
||||||
TraceFlag('ExecEnable')
|
DebugFlag('ExecEnable')
|
||||||
TraceFlag('ExecCPSeq')
|
DebugFlag('ExecCPSeq')
|
||||||
TraceFlag('ExecEffAddr')
|
DebugFlag('ExecEffAddr')
|
||||||
TraceFlag('ExecFaulting', 'Trace faulting instructions')
|
DebugFlag('ExecFaulting', 'Trace faulting instructions')
|
||||||
TraceFlag('ExecFetchSeq')
|
DebugFlag('ExecFetchSeq')
|
||||||
TraceFlag('ExecOpClass')
|
DebugFlag('ExecOpClass')
|
||||||
TraceFlag('ExecRegDelta')
|
DebugFlag('ExecRegDelta')
|
||||||
TraceFlag('ExecResult')
|
DebugFlag('ExecResult')
|
||||||
TraceFlag('ExecSpeculative')
|
DebugFlag('ExecSpeculative')
|
||||||
TraceFlag('ExecSymbol')
|
DebugFlag('ExecSymbol')
|
||||||
TraceFlag('ExecThread')
|
DebugFlag('ExecThread')
|
||||||
TraceFlag('ExecTicks')
|
DebugFlag('ExecTicks')
|
||||||
TraceFlag('ExecMicro')
|
DebugFlag('ExecMicro')
|
||||||
TraceFlag('ExecMacro')
|
DebugFlag('ExecMacro')
|
||||||
TraceFlag('ExecUser')
|
DebugFlag('ExecUser')
|
||||||
TraceFlag('ExecKernel')
|
DebugFlag('ExecKernel')
|
||||||
TraceFlag('ExecAsid')
|
DebugFlag('ExecAsid')
|
||||||
TraceFlag('Fetch')
|
DebugFlag('Fetch')
|
||||||
TraceFlag('IntrControl')
|
DebugFlag('IntrControl')
|
||||||
TraceFlag('PCEvent')
|
DebugFlag('PCEvent')
|
||||||
TraceFlag('Quiesce')
|
DebugFlag('Quiesce')
|
||||||
|
|
||||||
CompoundFlag('ExecAll', [ 'ExecEnable', 'ExecCPSeq', 'ExecEffAddr',
|
CompoundFlag('ExecAll', [ 'ExecEnable', 'ExecCPSeq', 'ExecEffAddr',
|
||||||
'ExecFaulting', 'ExecFetchSeq', 'ExecOpClass', 'ExecRegDelta',
|
'ExecFaulting', 'ExecFetchSeq', 'ExecOpClass', 'ExecRegDelta',
|
||||||
|
|
|
@ -34,28 +34,28 @@ if 'InOrderCPU' in env['CPU_MODELS']:
|
||||||
SimObject('InOrderCPU.py')
|
SimObject('InOrderCPU.py')
|
||||||
SimObject('InOrderTrace.py')
|
SimObject('InOrderTrace.py')
|
||||||
|
|
||||||
TraceFlag('ResReqCount')
|
DebugFlag('ResReqCount')
|
||||||
TraceFlag('InOrderStage')
|
DebugFlag('InOrderStage')
|
||||||
TraceFlag('InOrderStall')
|
DebugFlag('InOrderStall')
|
||||||
TraceFlag('InOrderCPU')
|
DebugFlag('InOrderCPU')
|
||||||
TraceFlag('RegDepMap')
|
DebugFlag('RegDepMap')
|
||||||
TraceFlag('InOrderDynInst')
|
DebugFlag('InOrderDynInst')
|
||||||
TraceFlag('Resource')
|
DebugFlag('Resource')
|
||||||
TraceFlag('InOrderAGEN')
|
DebugFlag('InOrderAGEN')
|
||||||
TraceFlag('InOrderFetchSeq')
|
DebugFlag('InOrderFetchSeq')
|
||||||
TraceFlag('InOrderTLB')
|
DebugFlag('InOrderTLB')
|
||||||
TraceFlag('InOrderCachePort')
|
DebugFlag('InOrderCachePort')
|
||||||
TraceFlag('InOrderBPred')
|
DebugFlag('InOrderBPred')
|
||||||
TraceFlag('InOrderDecode')
|
DebugFlag('InOrderDecode')
|
||||||
TraceFlag('InOrderExecute')
|
DebugFlag('InOrderExecute')
|
||||||
TraceFlag('InOrderInstBuffer')
|
DebugFlag('InOrderInstBuffer')
|
||||||
TraceFlag('InOrderUseDef')
|
DebugFlag('InOrderUseDef')
|
||||||
TraceFlag('InOrderMDU')
|
DebugFlag('InOrderMDU')
|
||||||
TraceFlag('InOrderGraduation')
|
DebugFlag('InOrderGraduation')
|
||||||
TraceFlag('ThreadModel')
|
DebugFlag('ThreadModel')
|
||||||
TraceFlag('RefCount')
|
DebugFlag('RefCount')
|
||||||
TraceFlag('AddrDep')
|
DebugFlag('AddrDep')
|
||||||
TraceFlag('SkedCache')
|
DebugFlag('SkedCache')
|
||||||
|
|
||||||
CompoundFlag('InOrderCPUAll', [ 'InOrderStage', 'InOrderStall', 'InOrderCPU',
|
CompoundFlag('InOrderCPUAll', [ 'InOrderStage', 'InOrderStall', 'InOrderCPU',
|
||||||
'InOrderMDU', 'InOrderAGEN', 'InOrderFetchSeq', 'InOrderTLB', 'InOrderBPred',
|
'InOrderMDU', 'InOrderAGEN', 'InOrderFetchSeq', 'InOrderTLB', 'InOrderBPred',
|
||||||
|
|
|
@ -33,9 +33,9 @@ import sys
|
||||||
Import('*')
|
Import('*')
|
||||||
|
|
||||||
if 'O3CPU' in env['CPU_MODELS'] or 'OzoneCPU' in env['CPU_MODELS']:
|
if 'O3CPU' in env['CPU_MODELS'] or 'OzoneCPU' in env['CPU_MODELS']:
|
||||||
TraceFlag('CommitRate')
|
DebugFlag('CommitRate')
|
||||||
TraceFlag('IEW')
|
DebugFlag('IEW')
|
||||||
TraceFlag('IQ')
|
DebugFlag('IQ')
|
||||||
|
|
||||||
if 'O3CPU' in env['CPU_MODELS']:
|
if 'O3CPU' in env['CPU_MODELS']:
|
||||||
SimObject('FUPool.py')
|
SimObject('FUPool.py')
|
||||||
|
@ -64,15 +64,15 @@ if 'O3CPU' in env['CPU_MODELS']:
|
||||||
Source('store_set.cc')
|
Source('store_set.cc')
|
||||||
Source('thread_context.cc')
|
Source('thread_context.cc')
|
||||||
|
|
||||||
TraceFlag('LSQ')
|
DebugFlag('LSQ')
|
||||||
TraceFlag('LSQUnit')
|
DebugFlag('LSQUnit')
|
||||||
TraceFlag('MemDepUnit')
|
DebugFlag('MemDepUnit')
|
||||||
TraceFlag('O3CPU')
|
DebugFlag('O3CPU')
|
||||||
TraceFlag('ROB')
|
DebugFlag('ROB')
|
||||||
TraceFlag('Rename')
|
DebugFlag('Rename')
|
||||||
TraceFlag('Scoreboard')
|
DebugFlag('Scoreboard')
|
||||||
TraceFlag('StoreSet')
|
DebugFlag('StoreSet')
|
||||||
TraceFlag('Writeback')
|
DebugFlag('Writeback')
|
||||||
|
|
||||||
CompoundFlag('O3CPUAll', [ 'Fetch', 'Decode', 'Rename', 'IEW', 'Commit',
|
CompoundFlag('O3CPUAll', [ 'Fetch', 'Decode', 'Rename', 'IEW', 'Commit',
|
||||||
'IQ', 'ROB', 'FreeList', 'LSQ', 'LSQUnit', 'StoreSet', 'MemDepUnit',
|
'IQ', 'ROB', 'FreeList', 'LSQ', 'LSQUnit', 'StoreSet', 'MemDepUnit',
|
||||||
|
|
|
@ -45,11 +45,11 @@ if 'OzoneCPU' in env['CPU_MODELS']:
|
||||||
Source('lw_lsq.cc')
|
Source('lw_lsq.cc')
|
||||||
Source('rename_table.cc')
|
Source('rename_table.cc')
|
||||||
|
|
||||||
TraceFlag('BE')
|
DebugFlag('BE')
|
||||||
TraceFlag('FE')
|
DebugFlag('FE')
|
||||||
TraceFlag('IBE')
|
DebugFlag('IBE')
|
||||||
TraceFlag('OzoneCPU')
|
DebugFlag('OzoneCPU')
|
||||||
TraceFlag('OzoneLSQ')
|
DebugFlag('OzoneLSQ')
|
||||||
|
|
||||||
CompoundFlag('OzoneCPUAll', [ 'BE', 'FE', 'IBE', 'OzoneLSQ', 'OzoneCPU' ])
|
CompoundFlag('OzoneCPUAll', [ 'BE', 'FE', 'IBE', 'OzoneLSQ', 'OzoneCPU' ])
|
||||||
|
|
||||||
|
|
|
@ -35,4 +35,4 @@ if 'InOrderCPU' in env['CPU_MODELS'] or 'O3CPU' in env['CPU_MODELS']:
|
||||||
Source('btb.cc')
|
Source('btb.cc')
|
||||||
Source('ras.cc')
|
Source('ras.cc')
|
||||||
Source('tournament.cc')
|
Source('tournament.cc')
|
||||||
TraceFlag('FreeList')
|
DebugFlag('FreeList')
|
||||||
|
|
|
@ -43,7 +43,7 @@ if 'TimingSimpleCPU' in env['CPU_MODELS']:
|
||||||
|
|
||||||
if 'AtomicSimpleCPU' in env['CPU_MODELS'] or \
|
if 'AtomicSimpleCPU' in env['CPU_MODELS'] or \
|
||||||
'TimingSimpleCPU' in env['CPU_MODELS']:
|
'TimingSimpleCPU' in env['CPU_MODELS']:
|
||||||
TraceFlag('SimpleCPU')
|
DebugFlag('SimpleCPU')
|
||||||
|
|
||||||
if need_simple_base:
|
if need_simple_base:
|
||||||
Source('base.cc')
|
Source('base.cc')
|
||||||
|
|
|
@ -45,4 +45,4 @@ Source('DirectedGenerator.cc')
|
||||||
Source('SeriesRequestGenerator.cc')
|
Source('SeriesRequestGenerator.cc')
|
||||||
Source('InvalidateGenerator.cc')
|
Source('InvalidateGenerator.cc')
|
||||||
|
|
||||||
TraceFlag('DirectedTest')
|
DebugFlag('DirectedTest')
|
||||||
|
|
|
@ -35,4 +35,4 @@ SimObject('MemTest.py')
|
||||||
|
|
||||||
Source('memtest.cc')
|
Source('memtest.cc')
|
||||||
|
|
||||||
TraceFlag('MemTest')
|
DebugFlag('MemTest')
|
||||||
|
|
|
@ -34,4 +34,4 @@ SimObject('NetworkTest.py')
|
||||||
|
|
||||||
Source('networktest.cc', Werror=False)
|
Source('networktest.cc', Werror=False)
|
||||||
|
|
||||||
TraceFlag('NetworkTest')
|
DebugFlag('NetworkTest')
|
||||||
|
|
|
@ -44,4 +44,4 @@ Source('RubyTester.cc')
|
||||||
Source('Check.cc')
|
Source('Check.cc')
|
||||||
Source('CheckTable.cc')
|
Source('CheckTable.cc')
|
||||||
|
|
||||||
TraceFlag('RubyTest')
|
DebugFlag('RubyTest')
|
||||||
|
|
|
@ -76,31 +76,31 @@ if env['FULL_SYSTEM']:
|
||||||
Source('uart.cc')
|
Source('uart.cc')
|
||||||
Source('uart8250.cc')
|
Source('uart8250.cc')
|
||||||
|
|
||||||
TraceFlag('DiskImageRead')
|
DebugFlag('DiskImageRead')
|
||||||
TraceFlag('DiskImageWrite')
|
DebugFlag('DiskImageWrite')
|
||||||
TraceFlag('DMA')
|
DebugFlag('DMA')
|
||||||
TraceFlag('DMACopyEngine')
|
DebugFlag('DMACopyEngine')
|
||||||
TraceFlag('Ethernet')
|
DebugFlag('Ethernet')
|
||||||
TraceFlag('EthernetCksum')
|
DebugFlag('EthernetCksum')
|
||||||
TraceFlag('EthernetDMA')
|
DebugFlag('EthernetDMA')
|
||||||
TraceFlag('EthernetData')
|
DebugFlag('EthernetData')
|
||||||
TraceFlag('EthernetDesc')
|
DebugFlag('EthernetDesc')
|
||||||
TraceFlag('EthernetEEPROM')
|
DebugFlag('EthernetEEPROM')
|
||||||
TraceFlag('EthernetIntr')
|
DebugFlag('EthernetIntr')
|
||||||
TraceFlag('EthernetPIO')
|
DebugFlag('EthernetPIO')
|
||||||
TraceFlag('EthernetSM')
|
DebugFlag('EthernetSM')
|
||||||
TraceFlag('IdeCtrl')
|
DebugFlag('IdeCtrl')
|
||||||
TraceFlag('IdeDisk')
|
DebugFlag('IdeDisk')
|
||||||
TraceFlag('Intel8254Timer')
|
DebugFlag('Intel8254Timer')
|
||||||
TraceFlag('IsaFake')
|
DebugFlag('IsaFake')
|
||||||
TraceFlag('MC146818')
|
DebugFlag('MC146818')
|
||||||
TraceFlag('PCIDEV')
|
DebugFlag('PCIDEV')
|
||||||
TraceFlag('PciConfigAll')
|
DebugFlag('PciConfigAll')
|
||||||
TraceFlag('SimpleDisk')
|
DebugFlag('SimpleDisk')
|
||||||
TraceFlag('SimpleDiskData')
|
DebugFlag('SimpleDiskData')
|
||||||
TraceFlag('Terminal')
|
DebugFlag('Terminal')
|
||||||
TraceFlag('TerminalVerbose')
|
DebugFlag('TerminalVerbose')
|
||||||
TraceFlag('Uart')
|
DebugFlag('Uart')
|
||||||
|
|
||||||
CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ])
|
CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ])
|
||||||
CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA',
|
CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA',
|
||||||
|
|
|
@ -41,5 +41,5 @@ if env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'alpha':
|
||||||
Source('tsunami_io.cc')
|
Source('tsunami_io.cc')
|
||||||
Source('tsunami_pchip.cc')
|
Source('tsunami_pchip.cc')
|
||||||
|
|
||||||
TraceFlag('AlphaBackdoor')
|
DebugFlag('AlphaBackdoor')
|
||||||
TraceFlag('Tsunami')
|
DebugFlag('Tsunami')
|
||||||
|
|
|
@ -53,7 +53,7 @@ if env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'arm':
|
||||||
Source('rv_ctrl.cc')
|
Source('rv_ctrl.cc')
|
||||||
Source('realview.cc')
|
Source('realview.cc')
|
||||||
|
|
||||||
TraceFlag('AMBA')
|
DebugFlag('AMBA')
|
||||||
TraceFlag('PL111')
|
DebugFlag('PL111')
|
||||||
TraceFlag('Pl050')
|
DebugFlag('Pl050')
|
||||||
TraceFlag('GIC')
|
DebugFlag('GIC')
|
||||||
|
|
|
@ -34,7 +34,7 @@ Import('*')
|
||||||
if env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'mips':
|
if env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'mips':
|
||||||
SimObject('Malta.py')
|
SimObject('Malta.py')
|
||||||
|
|
||||||
TraceFlag('Malta')
|
DebugFlag('Malta')
|
||||||
|
|
||||||
Source('malta.cc')
|
Source('malta.cc')
|
||||||
Source('malta_cchip.cc')
|
Source('malta_cchip.cc')
|
||||||
|
|
|
@ -39,4 +39,4 @@ if env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'sparc':
|
||||||
Source('t1000.cc')
|
Source('t1000.cc')
|
||||||
Source('mm_disk.cc')
|
Source('mm_disk.cc')
|
||||||
|
|
||||||
TraceFlag('Iob')
|
DebugFlag('Iob')
|
||||||
|
|
|
@ -39,32 +39,32 @@ if env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'x86':
|
||||||
|
|
||||||
SimObject('Cmos.py')
|
SimObject('Cmos.py')
|
||||||
Source('cmos.cc')
|
Source('cmos.cc')
|
||||||
TraceFlag('CMOS', 'Accesses to CMOS devices')
|
DebugFlag('CMOS', 'Accesses to CMOS devices')
|
||||||
|
|
||||||
SimObject('I8259.py')
|
SimObject('I8259.py')
|
||||||
Source('i8259.cc')
|
Source('i8259.cc')
|
||||||
TraceFlag('I8259', 'Accesses to the I8259 PIC devices')
|
DebugFlag('I8259', 'Accesses to the I8259 PIC devices')
|
||||||
|
|
||||||
SimObject('I8254.py')
|
SimObject('I8254.py')
|
||||||
Source('i8254.cc')
|
Source('i8254.cc')
|
||||||
TraceFlag('I8254', 'Interrupts from the I8254 timer');
|
DebugFlag('I8254', 'Interrupts from the I8254 timer');
|
||||||
|
|
||||||
SimObject('I8237.py')
|
SimObject('I8237.py')
|
||||||
Source('i8237.cc')
|
Source('i8237.cc')
|
||||||
TraceFlag('I8237', 'The I8237 dma controller');
|
DebugFlag('I8237', 'The I8237 dma controller');
|
||||||
|
|
||||||
SimObject('I8042.py')
|
SimObject('I8042.py')
|
||||||
Source('i8042.cc')
|
Source('i8042.cc')
|
||||||
TraceFlag('I8042', 'The I8042 keyboard controller');
|
DebugFlag('I8042', 'The I8042 keyboard controller');
|
||||||
|
|
||||||
SimObject('PcSpeaker.py')
|
SimObject('PcSpeaker.py')
|
||||||
Source('speaker.cc')
|
Source('speaker.cc')
|
||||||
TraceFlag('PcSpeaker')
|
DebugFlag('PcSpeaker')
|
||||||
|
|
||||||
SimObject('I82094AA.py')
|
SimObject('I82094AA.py')
|
||||||
Source('i82094aa.cc')
|
Source('i82094aa.cc')
|
||||||
TraceFlag('I82094AA')
|
DebugFlag('I82094AA')
|
||||||
|
|
||||||
SimObject('X86IntPin.py')
|
SimObject('X86IntPin.py')
|
||||||
Source('intdev.cc')
|
Source('intdev.cc')
|
||||||
TraceFlag('IntDev')
|
DebugFlag('IntDev')
|
||||||
|
|
|
@ -37,8 +37,8 @@ if env['FULL_SYSTEM']:
|
||||||
Source('kernel_stats.cc')
|
Source('kernel_stats.cc')
|
||||||
Source('system_events.cc')
|
Source('system_events.cc')
|
||||||
|
|
||||||
TraceFlag('DebugPrintf')
|
DebugFlag('DebugPrintf')
|
||||||
TraceFlag('Printf')
|
DebugFlag('Printf')
|
||||||
|
|
||||||
Source('linux/events.cc')
|
Source('linux/events.cc')
|
||||||
Source('linux/linux_syscalls.cc')
|
Source('linux/linux_syscalls.cc')
|
||||||
|
@ -49,7 +49,7 @@ if env['FULL_SYSTEM']:
|
||||||
Source('tru64/printf.cc')
|
Source('tru64/printf.cc')
|
||||||
Source('tru64/tru64_events.cc')
|
Source('tru64/tru64_events.cc')
|
||||||
Source('tru64/tru64_syscalls.cc')
|
Source('tru64/tru64_syscalls.cc')
|
||||||
TraceFlag('BADADDR')
|
DebugFlag('BADADDR')
|
||||||
else:
|
else:
|
||||||
Source('linux/linux.cc')
|
Source('linux/linux.cc')
|
||||||
Source('operatingsystem.cc')
|
Source('operatingsystem.cc')
|
||||||
|
|
|
@ -53,24 +53,24 @@ elif env['TARGET_ISA'] != 'no':
|
||||||
Source('page_table.cc')
|
Source('page_table.cc')
|
||||||
Source('translating_port.cc')
|
Source('translating_port.cc')
|
||||||
|
|
||||||
TraceFlag('Bus')
|
DebugFlag('Bus')
|
||||||
TraceFlag('BusAddrRanges')
|
DebugFlag('BusAddrRanges')
|
||||||
TraceFlag('BusBridge')
|
DebugFlag('BusBridge')
|
||||||
TraceFlag('LLSC')
|
DebugFlag('LLSC')
|
||||||
TraceFlag('MMU')
|
DebugFlag('MMU')
|
||||||
TraceFlag('MemoryAccess')
|
DebugFlag('MemoryAccess')
|
||||||
|
|
||||||
TraceFlag('ProtocolTrace')
|
DebugFlag('ProtocolTrace')
|
||||||
TraceFlag('RubyCache')
|
DebugFlag('RubyCache')
|
||||||
TraceFlag('RubyDma')
|
DebugFlag('RubyDma')
|
||||||
TraceFlag('RubyGenerated')
|
DebugFlag('RubyGenerated')
|
||||||
TraceFlag('RubyMemory')
|
DebugFlag('RubyMemory')
|
||||||
TraceFlag('RubyNetwork')
|
DebugFlag('RubyNetwork')
|
||||||
TraceFlag('RubyPort')
|
DebugFlag('RubyPort')
|
||||||
TraceFlag('RubyQueue')
|
DebugFlag('RubyQueue')
|
||||||
TraceFlag('RubySlicc')
|
DebugFlag('RubySlicc')
|
||||||
TraceFlag('RubyStorebuffer')
|
DebugFlag('RubyStorebuffer')
|
||||||
TraceFlag('RubyTester')
|
DebugFlag('RubyTester')
|
||||||
|
|
||||||
CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
|
CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
|
||||||
'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache',
|
'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache',
|
||||||
|
|
8
src/mem/cache/SConscript
vendored
8
src/mem/cache/SConscript
vendored
|
@ -42,7 +42,7 @@ Source('builder.cc')
|
||||||
Source('mshr.cc')
|
Source('mshr.cc')
|
||||||
Source('mshr_queue.cc')
|
Source('mshr_queue.cc')
|
||||||
|
|
||||||
TraceFlag('Cache')
|
DebugFlag('Cache')
|
||||||
TraceFlag('CachePort')
|
DebugFlag('CachePort')
|
||||||
TraceFlag('CacheRepl')
|
DebugFlag('CacheRepl')
|
||||||
TraceFlag('HWPrefetch')
|
DebugFlag('HWPrefetch')
|
||||||
|
|
4
src/mem/cache/tags/SConscript
vendored
4
src/mem/cache/tags/SConscript
vendored
|
@ -42,5 +42,5 @@ Source('cacheset.cc')
|
||||||
SimObject('iic_repl/Repl.py')
|
SimObject('iic_repl/Repl.py')
|
||||||
Source('iic_repl/gen.cc')
|
Source('iic_repl/gen.cc')
|
||||||
|
|
||||||
TraceFlag('IIC')
|
DebugFlag('IIC')
|
||||||
TraceFlag('IICMore')
|
DebugFlag('IICMore')
|
||||||
|
|
|
@ -62,20 +62,20 @@ elif env['TARGET_ISA'] != 'no':
|
||||||
Source('process.cc')
|
Source('process.cc')
|
||||||
Source('syscall_emul.cc')
|
Source('syscall_emul.cc')
|
||||||
|
|
||||||
TraceFlag('Checkpoint')
|
DebugFlag('Checkpoint')
|
||||||
TraceFlag('Config')
|
DebugFlag('Config')
|
||||||
TraceFlag('Event')
|
DebugFlag('Event')
|
||||||
TraceFlag('Fault')
|
DebugFlag('Fault')
|
||||||
TraceFlag('Flow')
|
DebugFlag('Flow')
|
||||||
TraceFlag('IPI')
|
DebugFlag('IPI')
|
||||||
TraceFlag('IPR')
|
DebugFlag('IPR')
|
||||||
TraceFlag('Interrupt')
|
DebugFlag('Interrupt')
|
||||||
TraceFlag('Loader')
|
DebugFlag('Loader')
|
||||||
TraceFlag('Stack')
|
DebugFlag('Stack')
|
||||||
TraceFlag('SyscallVerbose')
|
DebugFlag('SyscallVerbose')
|
||||||
TraceFlag('TimeSync')
|
DebugFlag('TimeSync')
|
||||||
TraceFlag('TLB')
|
DebugFlag('TLB')
|
||||||
TraceFlag('Thread')
|
DebugFlag('Thread')
|
||||||
TraceFlag('Timer')
|
DebugFlag('Timer')
|
||||||
TraceFlag('VtoPhys')
|
DebugFlag('VtoPhys')
|
||||||
TraceFlag('WorkItems')
|
DebugFlag('WorkItems')
|
||||||
|
|
Loading…
Reference in a new issue