SConscript revision 8755
1955SN/A# -*- mode:python -*- 2955SN/A 39812Sandreas.hansson@arm.com# Copyright (c) 2004-2005 The Regents of The University of Michigan 49812Sandreas.hansson@arm.com# All rights reserved. 59812Sandreas.hansson@arm.com# 69812Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without 79812Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are 89812Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright 99812Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer; 109812Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright 119812Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the 129812Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution; 139812Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its 149812Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from 157816Ssteve.reinhardt@amd.com# this software without specific prior written permission. 165871Snate@binkert.org# 171762SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28955SN/A# 29955SN/A# Authors: Gabe Black 30955SN/A# Steve Reinhardt 31955SN/A 32955SN/AImport('*') 33955SN/A 34955SN/Aif env['TARGET_ISA'] == 'alpha': 35955SN/A Source('ev5.cc') 36955SN/A Source('faults.cc') 37955SN/A Source('interrupts.cc') 38955SN/A Source('ipr.cc') 39955SN/A Source('isa.cc') 40955SN/A Source('pagetable.cc') 41955SN/A Source('regredir.cc') 422665Ssaidi@eecs.umich.edu Source('remote_gdb.cc') 432665Ssaidi@eecs.umich.edu Source('tlb.cc') 445863Snate@binkert.org Source('utility.cc') 45955SN/A Source('vtophys.cc') 46955SN/A 47955SN/A SimObject('AlphaInterrupts.py') 48955SN/A SimObject('AlphaTLB.py') 49955SN/A 508878Ssteve.reinhardt@amd.com if env['FULL_SYSTEM']: 512632Sstever@eecs.umich.edu SimObject('AlphaSystem.py') 528878Ssteve.reinhardt@amd.com 532632Sstever@eecs.umich.edu Source('idle_event.cc') 54955SN/A Source('kernel_stats.cc') 558878Ssteve.reinhardt@amd.com Source('osfpal.cc') 562632Sstever@eecs.umich.edu Source('stacktrace.cc') 572761Sstever@eecs.umich.edu Source('system.cc') 582632Sstever@eecs.umich.edu 592632Sstever@eecs.umich.edu Source('freebsd/system.cc') 602632Sstever@eecs.umich.edu Source('linux/system.cc') 612761Sstever@eecs.umich.edu Source('tru64/system.cc') 622761Sstever@eecs.umich.edu 632761Sstever@eecs.umich.edu else: 648878Ssteve.reinhardt@amd.com Source('process.cc') 658878Ssteve.reinhardt@amd.com 662761Sstever@eecs.umich.edu Source('linux/linux.cc') 672761Sstever@eecs.umich.edu Source('linux/process.cc') 682761Sstever@eecs.umich.edu 692761Sstever@eecs.umich.edu Source('tru64/tru64.cc') 702761Sstever@eecs.umich.edu Source('tru64/process.cc') 718878Ssteve.reinhardt@amd.com 728878Ssteve.reinhardt@amd.com # Add in files generated by the ISA description. 732632Sstever@eecs.umich.edu isa_desc_files = env.ISADesc('isa/main.isa') 742632Sstever@eecs.umich.edu # Only non-header files need to be compiled. 758878Ssteve.reinhardt@amd.com for f in isa_desc_files: 768878Ssteve.reinhardt@amd.com if not f.path.endswith('.hh'): 772632Sstever@eecs.umich.edu Source(f) 78955SN/A