SConscript revision 6165
12139SN/A# -*- mode:python -*- 22139SN/A 32139SN/A# Copyright (c) 2004-2005 The Regents of The University of Michigan 42139SN/A# All rights reserved. 52139SN/A# 62139SN/A# Redistribution and use in source and binary forms, with or without 72139SN/A# modification, are permitted provided that the following conditions are 82139SN/A# met: redistributions of source code must retain the above copyright 92139SN/A# notice, this list of conditions and the following disclaimer; 102139SN/A# redistributions in binary form must reproduce the above copyright 112139SN/A# notice, this list of conditions and the following disclaimer in the 122139SN/A# documentation and/or other materials provided with the distribution; 132139SN/A# neither the name of the copyright holders nor the names of its 142139SN/A# contributors may be used to endorse or promote products derived from 152139SN/A# this software without specific prior written permission. 162139SN/A# 172139SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182139SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192139SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202139SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212139SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222139SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232139SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242139SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252139SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262139SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272139SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Gabe Black 302139SN/A# Steve Reinhardt 314202Sbinkertn@umich.edu 328961Sgblack@eecs.umich.eduImport('*') 3310196SCurtis.Dunham@arm.com 342139SN/Aif env['TARGET_ISA'] == 'sparc': 354202Sbinkertn@umich.edu Source('asi.cc') 362152SN/A Source('faults.cc') 372152SN/A Source('floatregfile.cc') 382139SN/A Source('intregfile.cc') 392139SN/A Source('miscregfile.cc') 402139SN/A Source('pagetable.cc') 412139SN/A Source('regfile.cc') 422139SN/A Source('remote_gdb.cc') 432152SN/A Source('tlb.cc') 442152SN/A Source('utility.cc') 452139SN/A 462139SN/A SimObject('SparcTLB.py') 472139SN/A TraceFlag('Sparc', "Generic SPARC ISA stuff") 489020Sgblack@eecs.umich.edu TraceFlag('RegisterWindows', "Register window manipulation") 494781Snate@binkert.org 507799Sgblack@eecs.umich.edu if env['FULL_SYSTEM']: 514781Snate@binkert.org SimObject('SparcSystem.py') 524781Snate@binkert.org SimObject('SparcInterrupts.py') 533170Sstever@eecs.umich.edu 545664Sgblack@eecs.umich.edu Source('interrupts.cc') 558105Sgblack@eecs.umich.edu Source('stacktrace.cc') 566179Sksewell@umich.edu Source('system.cc') 574781Snate@binkert.org Source('ua2005.cc') 586329Sgblack@eecs.umich.edu Source('vtophys.cc') 594781Snate@binkert.org else: 604781Snate@binkert.org Source('process.cc') 614781Snate@binkert.org 624781Snate@binkert.org Source('linux/linux.cc') 634781Snate@binkert.org Source('linux/process.cc') 644781Snate@binkert.org Source('linux/syscalls.cc') 652139SN/A 662139SN/A Source('solaris/process.cc') 673546Sgblack@eecs.umich.edu Source('solaris/solaris.cc') 684202Sbinkertn@umich.edu 692152SN/A # Add in files generated by the ISA description. 702152SN/A isa_desc_files = env.ISADesc('isa/main.isa') 712152SN/A # Only non-header files need to be compiled. 722152SN/A for f in isa_desc_files: 732152SN/A if not f.path.endswith('.hh'): 742152SN/A Source(f) 752152SN/A