SConscript revision 9020
12929Sktlim@umich.edu# -*- mode:python -*-
211504Sandreas.sandberg@arm.com
311504Sandreas.sandberg@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
411504Sandreas.sandberg@arm.com# All rights reserved.
511504Sandreas.sandberg@arm.com#
611504Sandreas.sandberg@arm.com# Redistribution and use in source and binary forms, with or without
711504Sandreas.sandberg@arm.com# modification, are permitted provided that the following conditions are
811504Sandreas.sandberg@arm.com# met: redistributions of source code must retain the above copyright
911504Sandreas.sandberg@arm.com# notice, this list of conditions and the following disclaimer;
1011504Sandreas.sandberg@arm.com# redistributions in binary form must reproduce the above copyright
1111504Sandreas.sandberg@arm.com# notice, this list of conditions and the following disclaimer in the
1211504Sandreas.sandberg@arm.com# documentation and/or other materials provided with the distribution;
1311504Sandreas.sandberg@arm.com# neither the name of the copyright holders nor the names of its
1411504Sandreas.sandberg@arm.com# contributors may be used to endorse or promote products derived from
152932Sktlim@umich.edu# this software without specific prior written permission.
162929Sktlim@umich.edu#
172929Sktlim@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182929Sktlim@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192929Sktlim@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202929Sktlim@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212929Sktlim@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222929Sktlim@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232929Sktlim@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242929Sktlim@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252929Sktlim@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262929Sktlim@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272929Sktlim@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282929Sktlim@umich.edu#
292929Sktlim@umich.edu# Authors: Nathan Binkert
302929Sktlim@umich.edu
312929Sktlim@umich.eduImport('*')
322929Sktlim@umich.edu
332929Sktlim@umich.eduSimObject('BaseTLB.py')
342929Sktlim@umich.eduSimObject('Root.py')
352929Sktlim@umich.eduSimObject('InstTracer.py')
362929Sktlim@umich.edu
372929Sktlim@umich.eduSource('arguments.cc')
382929Sktlim@umich.eduSource('async.cc')
392929Sktlim@umich.eduSource('core.cc')
402932Sktlim@umich.eduSource('debug.cc')
412932Sktlim@umich.eduSource('eventq.cc')
422932Sktlim@umich.eduSource('init.cc')
4311504Sandreas.sandberg@arm.comSource('main.cc', main=True, skip_lib=True)
442929Sktlim@umich.eduSource('root.cc')
452929Sktlim@umich.eduSource('serialize.cc')
4611504Sandreas.sandberg@arm.comSource('sim_events.cc')
4711504Sandreas.sandberg@arm.comSource('sim_object.cc')
4811504Sandreas.sandberg@arm.comSource('simulate.cc')
4911504Sandreas.sandberg@arm.comSource('stat_control.cc')
5011504Sandreas.sandberg@arm.comSource('syscall_emul.cc')
5111504Sandreas.sandberg@arm.com
5211504Sandreas.sandberg@arm.comif env['TARGET_ISA'] != 'no':
532929Sktlim@umich.edu    SimObject('Process.py')
542929Sktlim@umich.edu    SimObject('System.py')
552929Sktlim@umich.edu    Source('faults.cc')
568947Sandreas.hansson@arm.com    Source('process.cc')
578947Sandreas.hansson@arm.com    Source('pseudo_inst.cc')
588947Sandreas.hansson@arm.com    Source('system.cc')
592929Sktlim@umich.edu
602929Sktlim@umich.eduif env['TARGET_ISA'] != 'no':
6111504Sandreas.sandberg@arm.com    Source('tlb.cc')
6211504Sandreas.sandberg@arm.com
6311504Sandreas.sandberg@arm.comDebugFlag('Checkpoint')
6411504Sandreas.sandberg@arm.comDebugFlag('Config')
6511504Sandreas.sandberg@arm.comDebugFlag('Event')
6611504Sandreas.sandberg@arm.comDebugFlag('Fault')
6711504Sandreas.sandberg@arm.comDebugFlag('Flow')
682929Sktlim@umich.eduDebugFlag('IPI')
6911504Sandreas.sandberg@arm.comDebugFlag('IPR')
7011504Sandreas.sandberg@arm.comDebugFlag('Interrupt')
716007Ssteve.reinhardt@amd.comDebugFlag('Loader')
726007Ssteve.reinhardt@amd.comDebugFlag('Stack')
7311504Sandreas.sandberg@arm.comDebugFlag('SyscallVerbose')
742929Sktlim@umich.eduDebugFlag('TimeSync')
752929Sktlim@umich.eduDebugFlag('TLB')
7611504Sandreas.sandberg@arm.comDebugFlag('Thread')
776007Ssteve.reinhardt@amd.comDebugFlag('Timer')
786007Ssteve.reinhardt@amd.comDebugFlag('VtoPhys')
799781Sandreas.hansson@arm.comDebugFlag('WorkItems')
806007Ssteve.reinhardt@amd.com