SConscript revision 5630
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('Cmos.py')
385629Sgblack@eecs.umich.edu    Source('cmos.cc')
395629Sgblack@eecs.umich.edu    TraceFlag('CMOS', 'Accesses to CMOS devices')
405630Sgblack@eecs.umich.edu
415630Sgblack@eecs.umich.edu    SimObject('I8259.py')
425630Sgblack@eecs.umich.edu    Source('i8259.cc')
435630Sgblack@eecs.umich.edu    TraceFlag('I8259', 'Accesses to the I8259 PIC devices')
44