SConscript revision 6313:95f69a436c82
12SN/A# -*- mode:python -*- 213610Sgiacomo.gabrielli@arm.com 313610Sgiacomo.gabrielli@arm.com# Copyright (c) 2004-2005 The Regents of The University of Michigan 413610Sgiacomo.gabrielli@arm.com# All rights reserved. 513610Sgiacomo.gabrielli@arm.com# 613610Sgiacomo.gabrielli@arm.com# Redistribution and use in source and binary forms, with or without 713610Sgiacomo.gabrielli@arm.com# modification, are permitted provided that the following conditions are 813610Sgiacomo.gabrielli@arm.com# met: redistributions of source code must retain the above copyright 913610Sgiacomo.gabrielli@arm.com# notice, this list of conditions and the following disclaimer; 1013610Sgiacomo.gabrielli@arm.com# redistributions in binary form must reproduce the above copyright 1113610Sgiacomo.gabrielli@arm.com# notice, this list of conditions and the following disclaimer in the 1213610Sgiacomo.gabrielli@arm.com# documentation and/or other materials provided with the distribution; 1313610Sgiacomo.gabrielli@arm.com# neither the name of the copyright holders nor the names of its 141762SN/A# contributors may be used to endorse or promote products derived from 159920Syasuko.eckert@amd.com# 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: Gabe Black 302SN/A# Steve Reinhardt 312SN/A 322SN/AImport('*') 332SN/A 342SN/Aif env['TARGET_ISA'] == 'alpha': 352SN/A Source('ev5.cc') 362SN/A Source('faults.cc') 372SN/A Source('floatregfile.cc') 382SN/A Source('intregfile.cc') 392SN/A Source('ipr.cc') 402665Ssaidi@eecs.umich.edu Source('isa.cc') 412665Ssaidi@eecs.umich.edu Source('miscregfile.cc') 422SN/A Source('pagetable.cc') 432SN/A Source('regfile.cc') 441464SN/A Source('remote_gdb.cc') 451464SN/A Source('tlb.cc') 462SN/A Source('utility.cc') 472SN/A 4812614Sgabeblack@google.com SimObject('AlphaTLB.py') 492SN/A 502SN/A if env['FULL_SYSTEM']: 518229Snate@binkert.org SimObject('AlphaInterrupts.py') 527720Sgblack@eecs.umich.edu SimObject('AlphaSystem.py') 5312334Sgabeblack@google.com 5456SN/A Source('idle_event.cc') 556216Snate@binkert.org Source('interrupts.cc') 568229Snate@binkert.org Source('kernel_stats.cc') 572410SN/A Source('osfpal.cc') 5812104Snathanael.premillieu@arm.com Source('stacktrace.cc') 598542Sgblack@eecs.umich.edu Source('system.cc') 609338SAndreas.Sandberg@arm.com Source('vtophys.cc') 6110201SAndrew.Bardsley@arm.com 6212614Sgabeblack@google.com Source('freebsd/system.cc') 632SN/A Source('linux/system.cc') 642SN/A Source('tru64/system.cc') 652623SN/A 661464SN/A else: 6710319SAndreas.Sandberg@ARM.com Source('process.cc') 6810259SAndrew.Bardsley@arm.com 692SN/A Source('linux/linux.cc') 702SN/A Source('linux/process.cc') 712SN/A 722SN/A Source('tru64/tru64.cc') 732SN/A Source('tru64/process.cc') 742SN/A 752SN/A # Add in files generated by the ISA description. 762SN/A isa_desc_files = env.ISADesc('isa/main.isa') 772SN/A # Only non-header files need to be compiled. 782SN/A for f in isa_desc_files: 792SN/A if not f.path.endswith('.hh'): 802SN/A Source(f) 812SN/A