SConscript revision 11012:f2ca575d27fd
14202Sbinkertn@umich.edu# -*- mode:python -*- 24202Sbinkertn@umich.edu 34202Sbinkertn@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 44202Sbinkertn@umich.edu# All rights reserved. 54202Sbinkertn@umich.edu# 64202Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without 74202Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are 84202Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright 94202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer; 104202Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright 114202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the 124202Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution; 134202Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its 144202Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from 154202Sbinkertn@umich.edu# this software without specific prior written permission. 164202Sbinkertn@umich.edu# 174202Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 184202Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 194202Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 204202Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 214202Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 224202Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 234202Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 244202Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 254202Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 264202Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 274202Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 284202Sbinkertn@umich.edu# 294202Sbinkertn@umich.edu# Authors: Steve Reinhardt 304202Sbinkertn@umich.edu# Gabe Black 314202Sbinkertn@umich.edu 324202Sbinkertn@umich.eduImport('*') 339398Sandreas.hansson@arm.com 349398Sandreas.hansson@arm.comSimObject('Device.py') 359398Sandreas.hansson@arm.comSource('io_device.cc') 369398Sandreas.hansson@arm.comSource('isa_fake.cc') 379398Sandreas.hansson@arm.comDebugFlag('IsaFake') 389398Sandreas.hansson@arm.com 399850Sandreas.hansson@arm.comif env['TARGET_ISA'] == 'null': 409259SAli.Saidi@ARM.com Return() 414486Sbinkertn@umich.edu 424486Sbinkertn@umich.eduSimObject('BadDevice.py') 436165Ssanchezd@stanford.eduSimObject('CopyEngine.py') 449850Sandreas.hansson@arm.comSimObject('DiskImage.py') 459850Sandreas.hansson@arm.comSimObject('Ethernet.py') 466168Snate@binkert.orgSimObject('I2C.py') 479850Sandreas.hansson@arm.comSimObject('Ide.py') 489259SAli.Saidi@ARM.comSimObject('Pci.py') 494202Sbinkertn@umich.eduSimObject('Platform.py') 504202Sbinkertn@umich.eduSimObject('SimpleDisk.py') 519036Sandreas.hansson@arm.comSimObject('Terminal.py') 524202Sbinkertn@umich.eduSimObject('Uart.py') 538761Sgblack@eecs.umich.edu 549036Sandreas.hansson@arm.comSource('baddev.cc') 554202Sbinkertn@umich.eduSource('copy_engine.cc') 564202Sbinkertn@umich.eduSource('disk_image.cc') 578914Sandreas.hansson@arm.comSource('dma_device.cc') 584202Sbinkertn@umich.eduSource('etherbus.cc') 598853Sandreas.hansson@arm.comSource('etherdevice.cc') 609850Sandreas.hansson@arm.comSource('etherdump.cc') 619850Sandreas.hansson@arm.comSource('etherint.cc') 629850Sandreas.hansson@arm.comSource('etherlink.cc') 636168Snate@binkert.orgSource('multi_packet.cc') 649850Sandreas.hansson@arm.comSource('multi_iface.cc') 659850Sandreas.hansson@arm.comSource('multi_etherlink.cc') 669850Sandreas.hansson@arm.comSource('tcp_iface.cc') 678763Sgblack@eecs.umich.eduSource('etherpkt.cc') 687768SAli.Saidi@ARM.comSource('ethertap.cc') 6910131Sandreas.hansson@arm.comSource('i2cbus.cc') 7010131Sandreas.hansson@arm.comSource('i8254xGBe.cc') 7110131Sandreas.hansson@arm.comSource('ide_ctrl.cc') 7210131Sandreas.hansson@arm.comSource('ide_disk.cc') 7310066Sandreas.hansson@arm.comSource('intel_8254_timer.cc') 749036Sandreas.hansson@arm.comSource('mc146818.cc') 758335Snate@binkert.orgSource('ns_gige.cc') 769036Sandreas.hansson@arm.comSource('pciconfigall.cc') 779036Sandreas.hansson@arm.comSource('pcidev.cc') 789036Sandreas.hansson@arm.comSource('pixelpump.cc') 799036Sandreas.hansson@arm.comSource('pktfifo.cc') 809036Sandreas.hansson@arm.comSource('platform.cc') 819164Sandreas.hansson@arm.comSource('ps2.cc') 828981Sandreas.hansson@arm.comSource('simple_disk.cc') 839243Sandreas.hansson@arm.comSource('sinic.cc') 848335Snate@binkert.orgSource('terminal.cc') 858335Snate@binkert.orgSource('uart.cc') 868335Snate@binkert.orgSource('uart8250.cc') 878914Sandreas.hansson@arm.com 887780Snilay@cs.wisc.eduDebugFlag('DiskImageRead') 8910066Sandreas.hansson@arm.comDebugFlag('DiskImageWrite') 9010066Sandreas.hansson@arm.comDebugFlag('DMA') 918335Snate@binkert.orgDebugFlag('DMACopyEngine') 928335Snate@binkert.orgDebugFlag('Ethernet') 938683Snilay@cs.wisc.eduDebugFlag('MultiEthernet') 948335Snate@binkert.orgDebugFlag('MultiEthernetPkt') 958335Snate@binkert.orgDebugFlag('EthernetCksum') 968335Snate@binkert.orgDebugFlag('EthernetDMA') 978335Snate@binkert.orgDebugFlag('EthernetData') 988335Snate@binkert.orgDebugFlag('EthernetDesc') 999363Snilay@cs.wisc.eduDebugFlag('EthernetEEPROM') 1008335Snate@binkert.orgDebugFlag('EthernetIntr') 1018615Snilay@cs.wisc.eduDebugFlag('EthernetPIO') 1028335Snate@binkert.orgDebugFlag('EthernetSM') 1038687Snilay@cs.wisc.eduDebugFlag('IdeCtrl') 1048335Snate@binkert.orgDebugFlag('IdeDisk') 1059104Shestness@cs.utexas.eduDebugFlag('Intel8254Timer') 1069105SBrad.Beckmann@amd.comDebugFlag('MC146818') 1077780Snilay@cs.wisc.eduDebugFlag('PCIDEV') 1087780Snilay@cs.wisc.eduDebugFlag('PciConfigAll') 1098687Snilay@cs.wisc.eduDebugFlag('SimpleDisk') 1109363Snilay@cs.wisc.eduDebugFlag('SimpleDiskData') 1119363Snilay@cs.wisc.eduDebugFlag('Terminal') 112DebugFlag('TerminalVerbose') 113DebugFlag('Uart') 114 115CompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ]) 116CompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA', 117 'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM', 118 'EthernetCksum', 'EthernetEEPROM' ]) 119CompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc', 120 'EthernetIntr', 'EthernetSM', 'EthernetCksum' ]) 121CompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ]) 122