SConscript revision 10839
12139SN/A# -*- mode:python -*-
22139SN/A
32139SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42139SN/A# All rights reserved.
52139SN/A#
62139SN/A# Redistribution and use in source and binary forms, with or without
72139SN/A# modification, are permitted provided that the following conditions are
82139SN/A# met: redistributions of source code must retain the above copyright
92139SN/A# notice, this list of conditions and the following disclaimer;
102139SN/A# redistributions in binary form must reproduce the above copyright
112139SN/A# notice, this list of conditions and the following disclaimer in the
122139SN/A# documentation and/or other materials provided with the distribution;
132139SN/A# neither the name of the copyright holders nor the names of its
142139SN/A# contributors may be used to endorse or promote products derived from
152139SN/A# this software without specific prior written permission.
162139SN/A#
172139SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182139SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192139SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202139SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212139SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222139SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232139SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242139SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252139SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262139SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272139SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Steve Reinhardt
302139SN/A#          Gabe Black
314202Sbinkertn@umich.edu
322139SN/AImport('*')
334202Sbinkertn@umich.edu
342152SN/ASimObject('Device.py')
352152SN/ASource('io_device.cc')
362139SN/ASource('isa_fake.cc')
372139SN/ADebugFlag('IsaFake')
382139SN/A
392139SN/Aif env['TARGET_ISA'] == 'null':
402139SN/A    Return()
412152SN/A
422152SN/ASimObject('BadDevice.py')
432139SN/ASimObject('CopyEngine.py')
442139SN/ASimObject('DiskImage.py')
452139SN/ASimObject('Ethernet.py')
464781Snate@binkert.orgSimObject('I2C.py')
474781Snate@binkert.orgSimObject('Ide.py')
487799Sgblack@eecs.umich.eduSimObject('Pci.py')
494781Snate@binkert.orgSimObject('Platform.py')
504781Snate@binkert.orgSimObject('SimpleDisk.py')
513170Sstever@eecs.umich.eduSimObject('Terminal.py')
525664Sgblack@eecs.umich.eduSimObject('Uart.py')
538105Sgblack@eecs.umich.edu
546179Sksewell@umich.eduSource('baddev.cc')
554781Snate@binkert.orgSource('copy_engine.cc')
564781Snate@binkert.orgSource('disk_image.cc')
576329Sgblack@eecs.umich.eduSource('dma_device.cc')
584781Snate@binkert.orgSource('etherbus.cc')
594781Snate@binkert.orgSource('etherdevice.cc')
604781Snate@binkert.orgSource('etherdump.cc')
614781Snate@binkert.orgSource('etherint.cc')
624781Snate@binkert.orgSource('etherlink.cc')
634781Snate@binkert.orgSource('etherpkt.cc')
642139SN/ASource('ethertap.cc')
652139SN/ASource('i2cbus.cc')
663546Sgblack@eecs.umich.eduSource('i8254xGBe.cc')
674202Sbinkertn@umich.eduSource('ide_ctrl.cc')
682152SN/ASource('ide_disk.cc')
692152SN/ASource('intel_8254_timer.cc')
702152SN/ASource('mc146818.cc')
712152SN/ASource('ns_gige.cc')
722152SN/ASource('pciconfigall.cc')
732152SN/ASource('pcidev.cc')
742152SN/ASource('pktfifo.cc')
752152SN/ASource('platform.cc')
762152SN/ASource('ps2.cc')
772152SN/ASource('simple_disk.cc')
782152SN/ASource('sinic.cc')
792152SN/ASource('terminal.cc')
802504SN/ASource('uart.cc')
812504SN/ASource('uart8250.cc')
822504SN/A
832504SN/ADebugFlag('DiskImageRead')
842152SN/ADebugFlag('DiskImageWrite')
852504SN/ADebugFlag('DMA')
862152SN/ADebugFlag('DMACopyEngine')
872152SN/ADebugFlag('Ethernet')
882152SN/ADebugFlag('EthernetCksum')
892152SN/ADebugFlag('EthernetDMA')
902152SN/ADebugFlag('EthernetData')
912152SN/ADebugFlag('EthernetDesc')
928584Sgblack@eecs.umich.eduDebugFlag('EthernetEEPROM')
938584Sgblack@eecs.umich.eduDebugFlag('EthernetIntr')
946993Snate@binkert.orgDebugFlag('EthernetPIO')
956993Snate@binkert.orgDebugFlag('EthernetSM')
966993Snate@binkert.orgDebugFlag('IdeCtrl')
976993Snate@binkert.orgDebugFlag('IdeDisk')
986993Snate@binkert.orgDebugFlag('Intel8254Timer')
996993Snate@binkert.orgDebugFlag('MC146818')
1006993Snate@binkert.orgDebugFlag('PCIDEV')
1016993Snate@binkert.orgDebugFlag('PciConfigAll')
1026993Snate@binkert.orgDebugFlag('SimpleDisk')
1036993Snate@binkert.orgDebugFlag('SimpleDiskData')
1046993Snate@binkert.orgDebugFlag('Terminal')
1056993Snate@binkert.orgDebugFlag('TerminalVerbose')
1066993Snate@binkert.orgDebugFlag('Uart')
1078584Sgblack@eecs.umich.edu
1088584Sgblack@eecs.umich.eduCompoundFlag('DiskImageAll', [ 'DiskImageRead', 'DiskImageWrite' ])
1098584Sgblack@eecs.umich.eduCompoundFlag('EthernetAll', [ 'Ethernet', 'EthernetPIO', 'EthernetDMA',
1108584Sgblack@eecs.umich.edu    'EthernetData' , 'EthernetDesc', 'EthernetIntr', 'EthernetSM',
1118584Sgblack@eecs.umich.edu    'EthernetCksum', 'EthernetEEPROM' ])
1128584Sgblack@eecs.umich.eduCompoundFlag('EthernetNoData', [ 'Ethernet', 'EthernetPIO', 'EthernetDesc',
1136993Snate@binkert.org    'EthernetIntr', 'EthernetSM', 'EthernetCksum' ])
1146993Snate@binkert.orgCompoundFlag('IdeAll', [ 'IdeCtrl', 'IdeDisk' ])
1156993Snate@binkert.org