SConscript revision 12531:3141027bd11a
12SN/A# -*- mode:python -*- 28703Sandreas.hansson@arm.com 38703Sandreas.hansson@arm.com# Copyright (c) 2009, 2012-2013 ARM Limited 48703Sandreas.hansson@arm.com# All rights reserved. 58703Sandreas.hansson@arm.com# 68703Sandreas.hansson@arm.com# The license below extends only to copyright in the software and shall 78703Sandreas.hansson@arm.com# not be construed as granting a license to any other intellectual 88703Sandreas.hansson@arm.com# property including but not limited to intellectual property relating 98703Sandreas.hansson@arm.com# to a hardware implementation of the functionality of the software 108703Sandreas.hansson@arm.com# licensed hereunder. You may use the software subject to the license 118703Sandreas.hansson@arm.com# terms below provided that you ensure that this notice is replicated 128703Sandreas.hansson@arm.com# unmodified and in its entirety in all distributions of the software, 138703Sandreas.hansson@arm.com# modified or unmodified, in source code or in binary form. 141762SN/A# 157897Shestness@cs.utexas.edu# Copyright (c) 2007-2008 The Florida State University 162SN/A# All rights reserved. 172SN/A# 182SN/A# Redistribution and use in source and binary forms, with or without 192SN/A# modification, are permitted provided that the following conditions are 202SN/A# met: redistributions of source code must retain the above copyright 212SN/A# notice, this list of conditions and the following disclaimer; 222SN/A# redistributions in binary form must reproduce the above copyright 232SN/A# notice, this list of conditions and the following disclaimer in the 242SN/A# documentation and/or other materials provided with the distribution; 252SN/A# neither the name of the copyright holders nor the names of its 262SN/A# contributors may be used to endorse or promote products derived from 272SN/A# this software without specific prior written permission. 282SN/A# 292SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 302SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 312SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 322SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 332SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 342SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 352SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 362SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 372SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 382SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 392SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 402665Ssaidi@eecs.umich.edu# 412665Ssaidi@eecs.umich.edu# Authors: Stephen Hines 422665Ssaidi@eecs.umich.edu# Ali Saidi 432665Ssaidi@eecs.umich.edu 447897Shestness@cs.utexas.eduImport('*') 452SN/A 462SN/Aif env['TARGET_ISA'] == 'arm': 472SN/A# Workaround for bug in SCons version > 0.97d20071212 482SN/A# Scons bug id: 2006 M5 Bug id: 308 492SN/A Dir('isa/formats') 502SN/A Source('decoder.cc') 5175SN/A Source('faults.cc') 522SN/A Source('insts/branch64.cc') 532439SN/A Source('insts/data64.cc') 542439SN/A Source('insts/macromem.cc') 55603SN/A Source('insts/mem.cc') 562986Sgblack@eecs.umich.edu Source('insts/mem64.cc') 57603SN/A Source('insts/misc.cc') 584762Snate@binkert.org Source('insts/misc64.cc') 598703Sandreas.hansson@arm.com Source('insts/pred_inst.cc') 602520SN/A Source('insts/pseudo.cc') 614762Snate@binkert.org Source('insts/static_inst.cc') 626658Snate@binkert.org Source('insts/vfp.cc') 632378SN/A Source('insts/fplib.cc') 64722SN/A Source('interrupts.cc') 652378SN/A Source('isa.cc') 66312SN/A Source('isa_device.cc') 671634SN/A Source('linux/linux.cc') 682680Sktlim@umich.edu Source('linux/process.cc') 691634SN/A Source('linux/system.cc') 702521SN/A Source('freebsd/freebsd.cc') 712378SN/A Source('freebsd/process.cc') 722378SN/A Source('freebsd/system.cc') 73803SN/A Source('miscregs.cc') 748706Sandreas.hansson@arm.com Source('nativetrace.cc') 758706Sandreas.hansson@arm.com Source('pmu.cc') 763960Sgblack@eecs.umich.edu Source('process.cc') 772378SN/A Source('remote_gdb.cc') 786658Snate@binkert.org Source('semihosting.cc') 792SN/A Source('stacktrace.cc') 808703Sandreas.hansson@arm.com Source('system.cc') 812SN/A Source('table_walker.cc') 828703Sandreas.hansson@arm.com Source('stage2_mmu.cc') 838703Sandreas.hansson@arm.com Source('stage2_lookup.cc') 848703Sandreas.hansson@arm.com Source('tlb.cc') 858703Sandreas.hansson@arm.com Source('utility.cc') 868703Sandreas.hansson@arm.com Source('vtophys.cc') 878703Sandreas.hansson@arm.com 888703Sandreas.hansson@arm.com SimObject('ArmInterrupts.py') 898703Sandreas.hansson@arm.com SimObject('ArmISA.py') 908703Sandreas.hansson@arm.com SimObject('ArmNativeTrace.py') 918703Sandreas.hansson@arm.com SimObject('ArmSemihosting.py') 928703Sandreas.hansson@arm.com SimObject('ArmSystem.py') 938703Sandreas.hansson@arm.com SimObject('ArmTLB.py') 948703Sandreas.hansson@arm.com SimObject('ArmPMU.py') 958703Sandreas.hansson@arm.com 968703Sandreas.hansson@arm.com DebugFlag('Arm') 978703Sandreas.hansson@arm.com DebugFlag('Semihosting') 988703Sandreas.hansson@arm.com DebugFlag('Decoder', "Instructions returned by the predecoder") 998703Sandreas.hansson@arm.com DebugFlag('Faults', "Trace Exceptions, interrupts, svc/swi") 1008703Sandreas.hansson@arm.com DebugFlag('PMUVerbose', "Performance Monitor") 1018703Sandreas.hansson@arm.com DebugFlag('TLBVerbose') 1028703Sandreas.hansson@arm.com 1038703Sandreas.hansson@arm.com # Add files generated by the ISA description. 1048703Sandreas.hansson@arm.com ISADesc('isa/main.isa', decoder_splits=3, exec_splits=6) 1058703Sandreas.hansson@arm.com