SConscript revision 5192:582e583f8e7e
1955SN/A# -*- mode:python -*-
2955SN/A
313576Sciro.santilli@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
413576Sciro.santilli@arm.com# All rights reserved.
513576Sciro.santilli@arm.com#
613576Sciro.santilli@arm.com# Redistribution and use in source and binary forms, with or without
713576Sciro.santilli@arm.com# modification, are permitted provided that the following conditions are
813576Sciro.santilli@arm.com# met: redistributions of source code must retain the above copyright
913576Sciro.santilli@arm.com# notice, this list of conditions and the following disclaimer;
1013576Sciro.santilli@arm.com# redistributions in binary form must reproduce the above copyright
1113576Sciro.santilli@arm.com# notice, this list of conditions and the following disclaimer in the
1213576Sciro.santilli@arm.com# documentation and/or other materials provided with the distribution;
1313576Sciro.santilli@arm.com# neither the name of the copyright holders nor the names of its
141762SN/A# contributors may be used to endorse or promote products derived from
15955SN/A# this software without specific prior written permission.
16955SN/A#
17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28955SN/A#
29955SN/A# Authors: Steve Reinhardt
30955SN/A#          Gabe Black
31955SN/A
32955SN/AImport('*')
33955SN/A
34955SN/Aif env['FULL_SYSTEM']:
35955SN/A    SimObject('BadDevice.py')
36955SN/A    SimObject('Device.py')
37955SN/A    SimObject('DiskImage.py')
38955SN/A    SimObject('Ethernet.py')
392665Ssaidi@eecs.umich.edu    SimObject('Ide.py')
404762Snate@binkert.org    SimObject('Pci.py')
41955SN/A    SimObject('Platform.py')
4212563Sgabeblack@google.com    SimObject('SimConsole.py')
4312563Sgabeblack@google.com    SimObject('SimpleDisk.py')
445522Snate@binkert.org    SimObject('Uart.py')
456143Snate@binkert.org
4612371Sgabeblack@google.com    Source('baddev.cc')
474762Snate@binkert.org    Source('disk_image.cc')
485522Snate@binkert.org    Source('etherbus.cc')
49955SN/A    Source('etherdump.cc')
505522Snate@binkert.org    Source('etherint.cc')
5111974Sgabeblack@google.com    Source('etherlink.cc')
52955SN/A    Source('etherpkt.cc')
535522Snate@binkert.org    Source('ethertap.cc')
544202Sbinkertn@umich.edu    Source('i8254xGBe.cc')
555742Snate@binkert.org    Source('ide_ctrl.cc')
56955SN/A    Source('ide_disk.cc')
574381Sbinkertn@umich.edu    Source('io_device.cc')
584381Sbinkertn@umich.edu    Source('isa_fake.cc')
5912246Sgabeblack@google.com    Source('ns_gige.cc')
6012246Sgabeblack@google.com    Source('pciconfigall.cc')
618334Snate@binkert.org    Source('pcidev.cc')
62955SN/A    Source('pktfifo.cc')
63955SN/A    Source('platform.cc')
644202Sbinkertn@umich.edu    Source('simconsole.cc')
65955SN/A    Source('simple_disk.cc')
664382Sbinkertn@umich.edu    Source('sinic.cc')
674382Sbinkertn@umich.edu    Source('uart.cc')
684382Sbinkertn@umich.edu    Source('uart8250.cc')
696654Snate@binkert.org
705517Snate@binkert.org    TraceFlag('Console')
718614Sgblack@eecs.umich.edu    TraceFlag('ConsoleVerbose')
727674Snate@binkert.org    TraceFlag('DiskImageRead')
736143Snate@binkert.org    TraceFlag('DiskImageWrite')
746143Snate@binkert.org    TraceFlag('DMA')
756143Snate@binkert.org    TraceFlag('Ethernet')
7612302Sgabeblack@google.com    TraceFlag('EthernetCksum')
7712302Sgabeblack@google.com    TraceFlag('EthernetDMA')
7812302Sgabeblack@google.com    TraceFlag('EthernetData')
7912371Sgabeblack@google.com    TraceFlag('EthernetDesc')
8012371Sgabeblack@google.com    TraceFlag('EthernetEEPROM')
8112371Sgabeblack@google.com    TraceFlag('EthernetIntr')
8212371Sgabeblack@google.com    TraceFlag('EthernetPIO')
8312371Sgabeblack@google.com    TraceFlag('EthernetSM')
8412371Sgabeblack@google.com    TraceFlag('IdeCtrl')
8512371Sgabeblack@google.com    TraceFlag('IdeDisk')
8612371Sgabeblack@google.com    TraceFlag('IsaFake')
8712371Sgabeblack@google.com    TraceFlag('PCIDEV')
8812371Sgabeblack@google.com    TraceFlag('PciConfigAll')
8912371Sgabeblack@google.com    TraceFlag('SimpleDisk')
9012371Sgabeblack@google.com    TraceFlag('SimpleDiskData')
9112371Sgabeblack@google.com    TraceFlag('Uart')
9212371Sgabeblack@google.com
9312371Sgabeblack@google.com    CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ])
9412371Sgabeblack@google.com    CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA',
9512371Sgabeblack@google.com        'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM',
9612371Sgabeblack@google.com        'EthernetCksum' ])
9712371Sgabeblack@google.com    CompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc',
9812371Sgabeblack@google.com        'EthernetIntr', 'EthernetSM', 'EthernetCksum' ])
9912371Sgabeblack@google.com    CompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ])
10012371Sgabeblack@google.com
10112371Sgabeblack@google.com