SConscript revision 5584
111731Sjason@lowepower.com# -*- mode:python -*-
211731Sjason@lowepower.com
311731Sjason@lowepower.com# Copyright (c) 2006 The Regents of The University of Michigan
411731Sjason@lowepower.com# All rights reserved.
511731Sjason@lowepower.com#
611731Sjason@lowepower.com# Redistribution and use in source and binary forms, with or without
711731Sjason@lowepower.com# modification, are permitted provided that the following conditions are
811731Sjason@lowepower.com# met: redistributions of source code must retain the above copyright
911731Sjason@lowepower.com# notice, this list of conditions and the following disclaimer;
1011731Sjason@lowepower.com# redistributions in binary form must reproduce the above copyright
1111731Sjason@lowepower.com# notice, this list of conditions and the following disclaimer in the
1211731Sjason@lowepower.com# documentation and/or other materials provided with the distribution;
1311731Sjason@lowepower.com# neither the name of the copyright holders nor the names of its
1411731Sjason@lowepower.com# contributors may be used to endorse or promote products derived from
1511731Sjason@lowepower.com# this software without specific prior written permission.
1611731Sjason@lowepower.com#
1711731Sjason@lowepower.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1811731Sjason@lowepower.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1911731Sjason@lowepower.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2011731Sjason@lowepower.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2111731Sjason@lowepower.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2211731Sjason@lowepower.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2311731Sjason@lowepower.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2411731Sjason@lowepower.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2511731Sjason@lowepower.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2611731Sjason@lowepower.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2711731Sjason@lowepower.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2811731Sjason@lowepower.com#
2911731Sjason@lowepower.com# Authors: Nathan Binkert
3011731Sjason@lowepower.com
3111731Sjason@lowepower.comImport('*')
3211731Sjason@lowepower.com
3311731Sjason@lowepower.comSimObject('Root.py')
3411731Sjason@lowepower.comSimObject('System.py')
3511731Sjason@lowepower.comSimObject('InstTracer.py')
3611731Sjason@lowepower.com
3711731Sjason@lowepower.comSource('async.cc')
3811731Sjason@lowepower.comSource('compile_info.cc')
3911731Sjason@lowepower.comSource('core.cc')
4011731Sjason@lowepower.comSource('debug.cc')
4111731Sjason@lowepower.comSource('eventq.cc')
4211731Sjason@lowepower.comSource('faults.cc')
4311731Sjason@lowepower.comSource('init.cc')
4411731Sjason@lowepower.comBinSource('main.cc')
4511731Sjason@lowepower.comSource('root.cc')
4611731Sjason@lowepower.comSource('serialize.cc')
4711731Sjason@lowepower.comSource('sim_events.cc')
4811731Sjason@lowepower.comSource('sim_object.cc')
4911731Sjason@lowepower.comSource('simulate.cc')
5011731Sjason@lowepower.comSource('startup.cc')
5111731Sjason@lowepower.comSource('stat_control.cc')
5211731Sjason@lowepower.comSource('system.cc')
5311731Sjason@lowepower.com
5411731Sjason@lowepower.comif env['FULL_SYSTEM']:
5511731Sjason@lowepower.com    Source('arguments.cc')
5611731Sjason@lowepower.com    Source('pseudo_inst.cc')
5711731Sjason@lowepower.comelse:
5811731Sjason@lowepower.com    Source('tlb.cc')
5911731Sjason@lowepower.com    SimObject('Process.py')
6011731Sjason@lowepower.com
6111731Sjason@lowepower.com    Source('process.cc')
6211731Sjason@lowepower.com    Source('syscall_emul.cc')
6311731Sjason@lowepower.com
6411731Sjason@lowepower.comTraceFlag('Config')
6511731Sjason@lowepower.comTraceFlag('Event')
6611731Sjason@lowepower.comTraceFlag('Fault')
6711731Sjason@lowepower.comTraceFlag('Flow')
6811731Sjason@lowepower.comTraceFlag('IPI')
6911731Sjason@lowepower.comTraceFlag('IPR')
7011731Sjason@lowepower.comTraceFlag('Interrupt')
7111731Sjason@lowepower.comTraceFlag('Loader')
7211731Sjason@lowepower.comTraceFlag('Stack')
7311731Sjason@lowepower.comTraceFlag('SyscallVerbose')
7411731Sjason@lowepower.comTraceFlag('TLB')
7511731Sjason@lowepower.comTraceFlag('Thread')
7611731Sjason@lowepower.comTraceFlag('Timer')
7711731Sjason@lowepower.comTraceFlag('VtoPhys')
7811731Sjason@lowepower.com