SConscript revision 8831
16145Snate@binkert.org# -*- mode:python -*-
26145Snate@binkert.org
36145Snate@binkert.org# Copyright (c) 2006 The Regents of The University of Michigan
46145Snate@binkert.org# All rights reserved.
56145Snate@binkert.org#
66145Snate@binkert.org# Redistribution and use in source and binary forms, with or without
76145Snate@binkert.org# modification, are permitted provided that the following conditions are
86145Snate@binkert.org# met: redistributions of source code must retain the above copyright
96145Snate@binkert.org# notice, this list of conditions and the following disclaimer;
106145Snate@binkert.org# redistributions in binary form must reproduce the above copyright
116145Snate@binkert.org# notice, this list of conditions and the following disclaimer in the
126145Snate@binkert.org# documentation and/or other materials provided with the distribution;
136145Snate@binkert.org# neither the name of the copyright holders nor the names of its
146145Snate@binkert.org# contributors may be used to endorse or promote products derived from
156145Snate@binkert.org# this software without specific prior written permission.
166145Snate@binkert.org#
176145Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
186145Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
196145Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
206145Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
216145Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
226145Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
236145Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
246145Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
256145Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
266145Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
276145Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
286145Snate@binkert.org#
296154Snate@binkert.org# Authors: Nathan Binkert
306145Snate@binkert.org
316145Snate@binkert.orgImport('*')
326145Snate@binkert.org
337039Snate@binkert.orgSimObject('BaseTLB.py')
347039Snate@binkert.orgSimObject('Root.py')
357039Snate@binkert.orgSimObject('InstTracer.py')
367039Snate@binkert.org
377039Snate@binkert.orgSource('arguments.cc')
386145Snate@binkert.orgSource('async.cc')
396145Snate@binkert.orgSource('core.cc')
407039Snate@binkert.orgSource('debug.cc')
417039Snate@binkert.orgSource('eventq.cc')
426145Snate@binkert.orgSource('init.cc')
437039Snate@binkert.orgSource('main.cc', main=True, skip_lib=True)
447039Snate@binkert.orgSource('root.cc')
457039Snate@binkert.orgSource('serialize.cc')
467039Snate@binkert.orgSource('sim_events.cc')
477039Snate@binkert.orgSource('sim_object.cc')
487039Snate@binkert.orgSource('simulate.cc')
496145Snate@binkert.orgSource('stat_control.cc')
506145Snate@binkert.orgSource('syscall_emul.cc')
517039Snate@binkert.org
527039Snate@binkert.orgif env['TARGET_ISA'] != 'no':
536145Snate@binkert.org    SimObject('Process.py')
547039Snate@binkert.org    SimObject('System.py')
557039Snate@binkert.org    Source('faults.cc')
567039Snate@binkert.org    Source('process.cc')
577039Snate@binkert.org    Source('pseudo_inst.cc')
587039Snate@binkert.org    Source('system.cc')
597039Snate@binkert.org
607039Snate@binkert.orgif env['TARGET_ISA'] != 'no':
616145Snate@binkert.org    Source('tlb.cc')
626145Snate@binkert.org
637039Snate@binkert.orgDebugFlag('Checkpoint')
647055Snate@binkert.orgDebugFlag('Config')
656145Snate@binkert.orgDebugFlag('Event')
667039Snate@binkert.orgDebugFlag('Fault')
676145Snate@binkert.orgDebugFlag('Flow')
686145Snate@binkert.orgDebugFlag('IPI')
696145Snate@binkert.orgDebugFlag('IPR')
706145Snate@binkert.orgDebugFlag('Interrupt')
71DebugFlag('Loader')
72DebugFlag('Stack')
73DebugFlag('SyscallVerbose')
74DebugFlag('TimeSync')
75DebugFlag('TLB')
76DebugFlag('Thread')
77DebugFlag('Timer')
78DebugFlag('VtoPhys')
79DebugFlag('WorkItems')
80