SConscript revision 10663
15647Sgblack@eecs.umich.edu# -*- mode:python -*-
25647Sgblack@eecs.umich.edu
35647Sgblack@eecs.umich.edu# Copyright (c) 2004-2005 The Regents of The University of Michigan
45647Sgblack@eecs.umich.edu# All rights reserved.
57087Snate@binkert.org#
67087Snate@binkert.org# Redistribution and use in source and binary forms, with or without
77087Snate@binkert.org# modification, are permitted provided that the following conditions are
87087Snate@binkert.org# met: redistributions of source code must retain the above copyright
97087Snate@binkert.org# notice, this list of conditions and the following disclaimer;
107087Snate@binkert.org# redistributions in binary form must reproduce the above copyright
117087Snate@binkert.org# notice, this list of conditions and the following disclaimer in the
127087Snate@binkert.org# documentation and/or other materials provided with the distribution;
135647Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
147087Snate@binkert.org# contributors may be used to endorse or promote products derived from
157087Snate@binkert.org# this software without specific prior written permission.
167087Snate@binkert.org#
177087Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
187087Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
197087Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
207087Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
217087Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
225647Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
237087Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
245647Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
255647Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
265647Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
275647Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
285647Sgblack@eecs.umich.edu#
295647Sgblack@eecs.umich.edu# Authors: Gabe Black
305647Sgblack@eecs.umich.edu#          Steve Reinhardt
315647Sgblack@eecs.umich.edu
325647Sgblack@eecs.umich.eduImport('*')
335647Sgblack@eecs.umich.edu
345647Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'sparc':
355647Sgblack@eecs.umich.edu    Source('asi.cc')
365647Sgblack@eecs.umich.edu    Source('decoder.cc')
375647Sgblack@eecs.umich.edu    Source('faults.cc')
385647Sgblack@eecs.umich.edu    Source('interrupts.cc')
395647Sgblack@eecs.umich.edu    Source('isa.cc')
405647Sgblack@eecs.umich.edu    Source('linux/linux.cc')
415654Sgblack@eecs.umich.edu    Source('linux/process.cc')
427629Sgblack@eecs.umich.edu    Source('linux/syscalls.cc')
435647Sgblack@eecs.umich.edu    Source('nativetrace.cc')
446137Sgblack@eecs.umich.edu    Source('pagetable.cc')
456137Sgblack@eecs.umich.edu    Source('process.cc')
466137Sgblack@eecs.umich.edu    Source('remote_gdb.cc')
475654Sgblack@eecs.umich.edu    Source('solaris/process.cc')
486046Sgblack@eecs.umich.edu    Source('solaris/solaris.cc')
495647Sgblack@eecs.umich.edu    Source('system.cc')
505648Sgblack@eecs.umich.edu    Source('tlb.cc')
515648Sgblack@eecs.umich.edu    Source('ua2005.cc')
525647Sgblack@eecs.umich.edu    Source('utility.cc')
535647Sgblack@eecs.umich.edu    Source('vtophys.cc')
545647Sgblack@eecs.umich.edu
555647Sgblack@eecs.umich.edu    SimObject('SparcInterrupts.py')
565647Sgblack@eecs.umich.edu    SimObject('SparcISA.py')
575647Sgblack@eecs.umich.edu    SimObject('SparcNativeTrace.py')
585647Sgblack@eecs.umich.edu    SimObject('SparcSystem.py')
595647Sgblack@eecs.umich.edu    SimObject('SparcTLB.py')
605647Sgblack@eecs.umich.edu
615648Sgblack@eecs.umich.edu    DebugFlag('Sparc', "Generic SPARC ISA stuff")
625647Sgblack@eecs.umich.edu    DebugFlag('RegisterWindows', "Register window manipulation")
635648Sgblack@eecs.umich.edu
645648Sgblack@eecs.umich.edu    env.ISADesc('isa/main.isa')
655648Sgblack@eecs.umich.edu