SConscript revision 8770
12SN/A# -*- mode:python -*-
29428SAndreas.Sandberg@ARM.com
39920Syasuko.eckert@amd.com# Copyright (c) 2006 The Regents of The University of Michigan
48733Sgeoffrey.blake@arm.com# All rights reserved.
58733Sgeoffrey.blake@arm.com#
68733Sgeoffrey.blake@arm.com# Redistribution and use in source and binary forms, with or without
78733Sgeoffrey.blake@arm.com# modification, are permitted provided that the following conditions are
88733Sgeoffrey.blake@arm.com# met: redistributions of source code must retain the above copyright
98733Sgeoffrey.blake@arm.com# notice, this list of conditions and the following disclaimer;
108733Sgeoffrey.blake@arm.com# redistributions in binary form must reproduce the above copyright
118733Sgeoffrey.blake@arm.com# notice, this list of conditions and the following disclaimer in the
128733Sgeoffrey.blake@arm.com# documentation and/or other materials provided with the distribution;
138733Sgeoffrey.blake@arm.com# neither the name of the copyright holders nor the names of its
148733Sgeoffrey.blake@arm.com# contributors may be used to endorse or promote products derived from
152190SN/A# this software without specific prior written permission.
162SN/A#
172SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282SN/A#
292SN/A# Authors: Nathan Binkert
302SN/A
312SN/AImport('*')
322SN/A
332SN/ASimObject('BaseTLB.py')
342SN/ASimObject('Root.py')
352SN/ASimObject('InstTracer.py')
362SN/A
372SN/ASource('async.cc')
382SN/ASource('core.cc')
392SN/ASource('debug.cc')
402665SN/ASource('eventq.cc')
412665SN/ASource('init.cc')
422SN/ASource('main.cc', main=True, skip_lib=True)
432SN/ASource('root.cc')
442680Sktlim@umich.eduSource('serialize.cc')
452680Sktlim@umich.eduSource('sim_events.cc')
462SN/ASource('sim_object.cc')
478229Snate@binkert.orgSource('simulate.cc')
487680Sgblack@eecs.umich.eduSource('stat_control.cc')
497680Sgblack@eecs.umich.eduSource('syscall_emul.cc')
506329Sgblack@eecs.umich.edu
513453Sgblack@eecs.umich.eduif env['TARGET_ISA'] != 'no':
526216Snate@binkert.org    SimObject('Process.py')
536658Snate@binkert.org    SimObject('System.py')
542SN/A    Source('faults.cc')
552190SN/A    Source('process.cc')
562190SN/A    Source('pseudo_inst.cc')
573453Sgblack@eecs.umich.edu    Source('system.cc')
583453Sgblack@eecs.umich.edu
599020Sgblack@eecs.umich.eduif env['FULL_SYSTEM']:
606022Sgblack@eecs.umich.edu    Source('arguments.cc')
613453Sgblack@eecs.umich.eduelif env['TARGET_ISA'] != 'no':
622190SN/A    Source('tlb.cc')
638887Sgeoffrey.blake@arm.com
647680Sgblack@eecs.umich.eduDebugFlag('Checkpoint')
652313SN/ADebugFlag('Config')
668706Sandreas.hansson@arm.comDebugFlag('Event')
678706Sandreas.hansson@arm.comDebugFlag('Fault')
688706Sandreas.hansson@arm.comDebugFlag('Flow')
692190SN/ADebugFlag('IPI')
702190SN/ADebugFlag('IPR')
713548Sgblack@eecs.umich.eduDebugFlag('Interrupt')
723548Sgblack@eecs.umich.eduDebugFlag('Loader')
733548Sgblack@eecs.umich.eduDebugFlag('Stack')
748902Sandreas.hansson@arm.comDebugFlag('SyscallVerbose')
758902Sandreas.hansson@arm.comDebugFlag('TimeSync')
762SN/ADebugFlag('TLB')
772680Sktlim@umich.eduDebugFlag('Thread')
782680Sktlim@umich.eduDebugFlag('Timer')
792680Sktlim@umich.eduDebugFlag('VtoPhys')
802680Sktlim@umich.eduDebugFlag('WorkItems')
812680Sktlim@umich.edu