SConscript revision 7768
12155SN/A# -*- mode:python -*-
22155SN/A
32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42155SN/A# All rights reserved.
52155SN/A#
62155SN/A# Redistribution and use in source and binary forms, with or without
72155SN/A# modification, are permitted provided that the following conditions are
82155SN/A# met: redistributions of source code must retain the above copyright
92155SN/A# notice, this list of conditions and the following disclaimer;
102155SN/A# redistributions in binary form must reproduce the above copyright
112155SN/A# notice, this list of conditions and the following disclaimer in the
122155SN/A# documentation and/or other materials provided with the distribution;
132155SN/A# neither the name of the copyright holders nor the names of its
142155SN/A# contributors may be used to endorse or promote products derived from
152155SN/A# this software without specific prior written permission.
162155SN/A#
172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302155SN/A
314202Sbinkertn@umich.eduImport('*')
322155SN/A
339850Sandreas.hansson@arm.comSimObject('BaseTLB.py')
349850Sandreas.hansson@arm.comSimObject('Root.py')
359850Sandreas.hansson@arm.comSimObject('InstTracer.py')
367768SAli.Saidi@ARM.com
377768SAli.Saidi@ARM.comSource('async.cc')
382178SN/ASource('core.cc')
392178SN/ASource('debug.cc')
402178SN/ASource('eventq.cc')
412178SN/ASource('init.cc')
422178SN/ASource('main.cc', bin_only=True)
432178SN/ASource('root.cc')
442178SN/ASource('serialize.cc')
452178SN/ASource('sim_events.cc')
462178SN/ASource('sim_object.cc')
472178SN/ASource('simulate.cc')
482178SN/ASource('stat_control.cc')
492155SN/A
505865Sksewell@umich.eduif env['TARGET_ISA'] != 'no':
516181Sksewell@umich.edu    SimObject('System.py')
526181Sksewell@umich.edu    Source('faults.cc')
535865Sksewell@umich.edu    Source('pseudo_inst.cc')
543918Ssaidi@eecs.umich.edu    Source('system.cc')
555865Sksewell@umich.edu
562623SN/Aif env['FULL_SYSTEM']:
573918Ssaidi@eecs.umich.edu    Source('arguments.cc')
582155SN/Aelif env['TARGET_ISA'] != 'no':
592155SN/A    Source('tlb.cc')
602292SN/A    SimObject('Process.py')
616181Sksewell@umich.edu
626181Sksewell@umich.edu    Source('process.cc')
633918Ssaidi@eecs.umich.edu    Source('syscall_emul.cc')
642292SN/A
652292SN/ATraceFlag('Checkpoint')
662292SN/ATraceFlag('Config')
673918Ssaidi@eecs.umich.eduTraceFlag('Event')
682292SN/ATraceFlag('Fault')
692292SN/ATraceFlag('Flow')
702766Sktlim@umich.eduTraceFlag('IPI')
712766Sktlim@umich.eduTraceFlag('IPR')
722766Sktlim@umich.eduTraceFlag('Interrupt')
732921Sktlim@umich.eduTraceFlag('Loader')
748887Sgeoffrey.blake@arm.comTraceFlag('Stack')
758887Sgeoffrey.blake@arm.comTraceFlag('SyscallVerbose')
762766Sktlim@umich.eduTraceFlag('TLB')
774762Snate@binkert.orgTraceFlag('Thread')
782155SN/ATraceFlag('Timer')
792155SN/ATraceFlag('VtoPhys')
802155SN/A