SConscript revision 5481
12155SN/A# -*- mode:python -*-
22155SN/A
32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42155SN/A# All rights reserved.
52155SN/A#
62155SN/A# Redistribution and use in source and binary forms, with or without
72155SN/A# modification, are permitted provided that the following conditions are
82155SN/A# met: redistributions of source code must retain the above copyright
92155SN/A# notice, this list of conditions and the following disclaimer;
102155SN/A# redistributions in binary form must reproduce the above copyright
112155SN/A# notice, this list of conditions and the following disclaimer in the
122155SN/A# documentation and/or other materials provided with the distribution;
132155SN/A# neither the name of the copyright holders nor the names of its
142155SN/A# contributors may be used to endorse or promote products derived from
152155SN/A# this software without specific prior written permission.
162155SN/A#
172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Steve Reinhardt
302155SN/A#          Gabe Black
312155SN/A
322155SN/AImport('*')
332155SN/A
342155SN/Aif env['FULL_SYSTEM']:
352155SN/A    SimObject('BadDevice.py')
362155SN/A    SimObject('Device.py')
372178SN/A    SimObject('DiskImage.py')
382178SN/A    SimObject('Ethernet.py')
392178SN/A    SimObject('Ide.py')
402178SN/A    SimObject('Pci.py')
412178SN/A    SimObject('Platform.py')
422178SN/A    SimObject('SimpleDisk.py')
432178SN/A    SimObject('Terminal.py')
442178SN/A    SimObject('Uart.py')
452178SN/A
462178SN/A    Source('baddev.cc')
472178SN/A    Source('disk_image.cc')
482178SN/A    Source('etherbus.cc')
492155SN/A    Source('etherdump.cc')
502178SN/A    Source('etherint.cc')
512155SN/A    Source('etherlink.cc')
522155SN/A    Source('etherpkt.cc')
532178SN/A    Source('ethertap.cc')
542155SN/A    Source('i8254xGBe.cc')
552155SN/A    Source('ide_ctrl.cc')
562623SN/A    Source('ide_disk.cc')
572623SN/A    Source('intel_8254_timer.cc')
582623SN/A    Source('io_device.cc')
592623SN/A    Source('isa_fake.cc')
602623SN/A    Source('mc146818.cc')
612155SN/A    Source('ns_gige.cc')
622155SN/A    Source('pciconfigall.cc')
632292SN/A    Source('pcidev.cc')
642292SN/A    Source('pktfifo.cc')
652292SN/A    Source('platform.cc')
662292SN/A    Source('simple_disk.cc')
672292SN/A    Source('sinic.cc')
682292SN/A    Source('terminal.cc')
692292SN/A    Source('uart.cc')
702292SN/A    Source('uart8250.cc')
712766Sktlim@umich.edu
722766Sktlim@umich.edu    TraceFlag('DiskImageRead')
732766Sktlim@umich.edu    TraceFlag('DiskImageWrite')
742766Sktlim@umich.edu    TraceFlag('DMA')
752766Sktlim@umich.edu    TraceFlag('Ethernet')
762766Sktlim@umich.edu    TraceFlag('EthernetCksum')
772766Sktlim@umich.edu    TraceFlag('EthernetDMA')
782178SN/A    TraceFlag('EthernetData')
792155SN/A    TraceFlag('EthernetDesc')
802155SN/A    TraceFlag('EthernetEEPROM')
812155SN/A    TraceFlag('EthernetIntr')
822155SN/A    TraceFlag('EthernetPIO')
832155SN/A    TraceFlag('EthernetSM')
842155SN/A    TraceFlag('IdeCtrl')
852766Sktlim@umich.edu    TraceFlag('IdeDisk')
862155SN/A    TraceFlag('Intel8254Timer')
872623SN/A    TraceFlag('IsaFake')
882155SN/A    TraceFlag('MC146818')
892155SN/A    TraceFlag('PCIDEV')
902155SN/A    TraceFlag('PciConfigAll')
912155SN/A    TraceFlag('SimpleDisk')
922178SN/A    TraceFlag('SimpleDiskData')
932178SN/A    TraceFlag('Terminal')
942178SN/A    TraceFlag('TerminalVerbose')
952766Sktlim@umich.edu    TraceFlag('Uart')
962178SN/A
972178SN/A    CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ])
982178SN/A    CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA',
992178SN/A        'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM',
1002766Sktlim@umich.edu        'EthernetCksum' ])
1012766Sktlim@umich.edu    CompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc',
1022766Sktlim@umich.edu        'EthernetIntr', 'EthernetSM', 'EthernetCksum' ])
1032788Sktlim@umich.edu    CompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ])
1042178SN/A
1052733Sktlim@umich.edu