From 538fae951b3a594814dff6bb6d038c32caadb25c Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 31 Oct 2007 01:21:54 -0400 Subject: Traceflags: Add SCons function to created a traceflag instead of having one file with them all. --HG-- extra : convert_revision : 427f6bd8f050861ace3bc0d354a1afa5fc8319e6 --- src/dev/SConscript | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'src/dev/SConscript') diff --git a/src/dev/SConscript b/src/dev/SConscript index 88ebee573..0aba8ac35 100644 --- a/src/dev/SConscript +++ b/src/dev/SConscript @@ -66,3 +66,35 @@ if env['FULL_SYSTEM']: Source('sinic.cc') Source('uart.cc') Source('uart8250.cc') + + TraceFlag('Console') + TraceFlag('ConsoleVerbose') + TraceFlag('DiskImageRead') + TraceFlag('DiskImageWrite') + TraceFlag('DMA') + TraceFlag('Ethernet') + TraceFlag('EthernetCksum') + TraceFlag('EthernetDMA') + TraceFlag('EthernetData') + TraceFlag('EthernetDesc') + TraceFlag('EthernetEEPROM') + TraceFlag('EthernetIntr') + TraceFlag('EthernetPIO') + TraceFlag('EthernetSM') + TraceFlag('IdeCtrl') + TraceFlag('IdeDisk') + TraceFlag('IsaFake') + TraceFlag('PCIDEV') + TraceFlag('PciConfigAll') + TraceFlag('SimpleDisk') + TraceFlag('SimpleDiskData') + TraceFlag('Uart') + + CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ]) + CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA', + 'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM', + 'EthernetCksum' ]) + CompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc', + 'EthernetIntr', 'EthernetSM', 'EthernetCksum' ]) + CompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ]) + -- cgit v1.2.3