SConscript revision 5818
15131Sgblack@eecs.umich.edu# -*- mode:python -*- 25131Sgblack@eecs.umich.edu 35131Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 45131Sgblack@eecs.umich.edu# All rights reserved. 55131Sgblack@eecs.umich.edu# 65131Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 75131Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 85131Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 95131Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 105131Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 115131Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 125131Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 135131Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 145131Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 155131Sgblack@eecs.umich.edu# this software without specific prior written permission. 165131Sgblack@eecs.umich.edu# 175131Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 185131Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 195131Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 205131Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 215131Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 225131Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 235131Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 245131Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 255131Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 265131Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 275131Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 285131Sgblack@eecs.umich.edu# 295390Sgblack@eecs.umich.edu# Authors: Gabe Black 305131Sgblack@eecs.umich.edu 315131Sgblack@eecs.umich.eduImport('*') 325131Sgblack@eecs.umich.edu 335131Sgblack@eecs.umich.eduif env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'x86': 345389Sgblack@eecs.umich.edu SimObject('Pc.py') 355629Sgblack@eecs.umich.edu Source('pc.cc') 365131Sgblack@eecs.umich.edu 375629Sgblack@eecs.umich.edu SimObject('SouthBridge.py') 385629Sgblack@eecs.umich.edu Source('south_bridge.cc') 395629Sgblack@eecs.umich.edu 40 SimObject('Cmos.py') 41 Source('cmos.cc') 42 TraceFlag('CMOS', 'Accesses to CMOS devices') 43 44 SimObject('I8259.py') 45 Source('i8259.cc') 46 TraceFlag('I8259', 'Accesses to the I8259 PIC devices') 47 48 SimObject('I8254.py') 49 Source('i8254.cc') 50 TraceFlag('I8254', 'Interrupts from the I8254 timer'); 51 52 SimObject('I8237.py') 53 Source('i8237.cc') 54 TraceFlag('I8237', 'The I8237 dma controller'); 55 56 SimObject('PcSpeaker.py') 57 Source('speaker.cc') 58 TraceFlag('PcSpeaker') 59 60 SimObject('I82094AA.py') 61 Source('i82094aa.cc') 62 TraceFlag('I82094AA') 63 64 SimObject('X86IntPin.py') 65 Source('intdev.cc') 66