SConscript revision 8335
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':
345638Sgblack@eecs.umich.edu    SimObject('Pc.py')
355629Sgblack@eecs.umich.edu    Source('pc.cc')
365131Sgblack@eecs.umich.edu
375637Sgblack@eecs.umich.edu    SimObject('SouthBridge.py')
385637Sgblack@eecs.umich.edu    Source('south_bridge.cc')
395637Sgblack@eecs.umich.edu
405629Sgblack@eecs.umich.edu    SimObject('Cmos.py')
415629Sgblack@eecs.umich.edu    Source('cmos.cc')
428335Snate@binkert.org    DebugFlag('CMOS', 'Accesses to CMOS devices')
435630Sgblack@eecs.umich.edu
445630Sgblack@eecs.umich.edu    SimObject('I8259.py')
455630Sgblack@eecs.umich.edu    Source('i8259.cc')
468335Snate@binkert.org    DebugFlag('I8259', 'Accesses to the I8259 PIC devices')
475633Sgblack@eecs.umich.edu
485636Sgblack@eecs.umich.edu    SimObject('I8254.py')
495636Sgblack@eecs.umich.edu    Source('i8254.cc')
508335Snate@binkert.org    DebugFlag('I8254', 'Interrupts from the I8254 timer');
515636Sgblack@eecs.umich.edu
525818Sgblack@eecs.umich.edu    SimObject('I8237.py')
535818Sgblack@eecs.umich.edu    Source('i8237.cc')
548335Snate@binkert.org    DebugFlag('I8237', 'The I8237 dma controller');
555818Sgblack@eecs.umich.edu
565831Sgblack@eecs.umich.edu    SimObject('I8042.py')
575831Sgblack@eecs.umich.edu    Source('i8042.cc')
588335Snate@binkert.org    DebugFlag('I8042', 'The I8042 keyboard controller');
595831Sgblack@eecs.umich.edu
605636Sgblack@eecs.umich.edu    SimObject('PcSpeaker.py')
615636Sgblack@eecs.umich.edu    Source('speaker.cc')
628335Snate@binkert.org    DebugFlag('PcSpeaker')
635636Sgblack@eecs.umich.edu
645643Sgblack@eecs.umich.edu    SimObject('I82094AA.py')
655643Sgblack@eecs.umich.edu    Source('i82094aa.cc')
668335Snate@binkert.org    DebugFlag('I82094AA')
675643Sgblack@eecs.umich.edu
685633Sgblack@eecs.umich.edu    SimObject('X86IntPin.py')
695633Sgblack@eecs.umich.edu    Source('intdev.cc')
708335Snate@binkert.org    DebugFlag('IntDev')
71