SConscript revision 11012
14202Sbinkertn@umich.edu# -*- mode:python -*- 24202Sbinkertn@umich.edu 34202Sbinkertn@umich.edu# Copyright (c) 2009, 2012-2013 ARM Limited 44202Sbinkertn@umich.edu# All rights reserved. 54202Sbinkertn@umich.edu# 64202Sbinkertn@umich.edu# The license below extends only to copyright in the software and shall 74202Sbinkertn@umich.edu# not be construed as granting a license to any other intellectual 84202Sbinkertn@umich.edu# property including but not limited to intellectual property relating 94202Sbinkertn@umich.edu# to a hardware implementation of the functionality of the software 104202Sbinkertn@umich.edu# licensed hereunder. You may use the software subject to the license 114202Sbinkertn@umich.edu# terms below provided that you ensure that this notice is replicated 124202Sbinkertn@umich.edu# unmodified and in its entirety in all distributions of the software, 134202Sbinkertn@umich.edu# modified or unmodified, in source code or in binary form. 144202Sbinkertn@umich.edu# 154202Sbinkertn@umich.edu# Copyright (c) 2007-2008 The Florida State University 164202Sbinkertn@umich.edu# All rights reserved. 174202Sbinkertn@umich.edu# 184202Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without 194202Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are 204202Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright 214202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer; 224202Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright 234202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the 244202Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution; 254202Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its 264202Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from 274202Sbinkertn@umich.edu# this software without specific prior written permission. 284202Sbinkertn@umich.edu# 294202Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 304202Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 314202Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 324202Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3310996Sandreas.sandberg@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3410996Sandreas.sandberg@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 359398Sandreas.hansson@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 369850Sandreas.hansson@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 379259SAli.Saidi@ARM.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 384486Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3910146Sandreas.hansson@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 4010478SAndrew.Bardsley@arm.com# 4110478SAndrew.Bardsley@arm.com# Authors: Stephen Hines 426165Ssanchezd@stanford.edu# Ali Saidi 439850Sandreas.hansson@arm.com 4410405Sandreas.hansson@arm.comImport('*') 4511184Serfan.azarkhish@unibo.it 4611185Serfan.azarkhish@unibo.itif env['TARGET_ISA'] == 'arm': 476168Snate@binkert.org# Workaround for bug in SCons version > 0.97d20071212 489850Sandreas.hansson@arm.com# Scons bug id: 2006 M5 Bug id: 308 499259SAli.Saidi@ARM.com Dir('isa/formats') 504202Sbinkertn@umich.edu Source('decoder.cc') 5110405Sandreas.hansson@arm.com Source('faults.cc') 5210431SOmar.Naji@arm.com Source('insts/branch64.cc') 5310146Sandreas.hansson@arm.com Source('insts/data64.cc') 5410478SAndrew.Bardsley@arm.com Source('insts/macromem.cc') 5510478SAndrew.Bardsley@arm.com Source('insts/mem.cc') 564202Sbinkertn@umich.edu Source('insts/mem64.cc') 578761Sgblack@eecs.umich.edu Source('insts/misc.cc') 5810405Sandreas.hansson@arm.com Source('insts/misc64.cc') 594202Sbinkertn@umich.edu Source('insts/pred_inst.cc') 604202Sbinkertn@umich.edu Source('insts/pseudo.cc') 618914Sandreas.hansson@arm.com Source('insts/static_inst.cc') 6210405Sandreas.hansson@arm.com Source('insts/vfp.cc') 6310405Sandreas.hansson@arm.com Source('insts/fplib.cc') 6410405Sandreas.hansson@arm.com Source('interrupts.cc') 6510405Sandreas.hansson@arm.com Source('isa.cc') 6610614Skanishk.sugand@arm.com Source('isa_device.cc') 674202Sbinkertn@umich.edu Source('linux/linux.cc') 6810405Sandreas.hansson@arm.com Source('linux/process.cc') 6911184Serfan.azarkhish@unibo.it Source('linux/system.cc') 7011185Serfan.azarkhish@unibo.it Source('freebsd/freebsd.cc') 716168Snate@binkert.org Source('freebsd/process.cc') 729850Sandreas.hansson@arm.com Source('freebsd/system.cc') 739850Sandreas.hansson@arm.com Source('miscregs.cc') 749850Sandreas.hansson@arm.com Source('nativetrace.cc') 758763Sgblack@eecs.umich.edu Source('pmu.cc') 7610299Salexandru.dutu@amd.com Source('process.cc') 7710299Salexandru.dutu@amd.com Source('remote_gdb.cc') 787768SAli.Saidi@ARM.com Source('stacktrace.cc') 7910131Sandreas.hansson@arm.com Source('system.cc') 8010131Sandreas.hansson@arm.com Source('table_walker.cc') 8110131Sandreas.hansson@arm.com Source('stage2_mmu.cc') 8210131Sandreas.hansson@arm.com Source('stage2_lookup.cc') 8310066Sandreas.hansson@arm.com Source('tlb.cc') 8410612SMarco.Elver@ARM.com Source('utility.cc') 8510612SMarco.Elver@ARM.com Source('vtophys.cc') 8610612SMarco.Elver@ARM.com 8710612SMarco.Elver@ARM.com SimObject('ArmInterrupts.py') 8810405Sandreas.hansson@arm.com SimObject('ArmISA.py') 8910405Sandreas.hansson@arm.com SimObject('ArmNativeTrace.py') 9010405Sandreas.hansson@arm.com SimObject('ArmSystem.py') 9110405Sandreas.hansson@arm.com SimObject('ArmTLB.py') 9210399Sstephan.diestelhorst@arm.com SimObject('ArmPMU.py') 9310405Sandreas.hansson@arm.com 9410405Sandreas.hansson@arm.com DebugFlag('Arm') 959036Sandreas.hansson@arm.com DebugFlag('Decoder', "Instructions returned by the predecoder") 969164Sandreas.hansson@arm.com DebugFlag('Faults', "Trace Exceptions, interrupts, svc/swi") 978981Sandreas.hansson@arm.com DebugFlag('PMUVerbose', "Performance Monitor") 989243Sandreas.hansson@arm.com DebugFlag('TLBVerbose') 9910247Sandreas.hansson@arm.com 10010208Sandreas.hansson@arm.com # Add files generated by the ISA description. 10110478SAndrew.Bardsley@arm.com env.ISADesc('isa/main.isa') 1028335Snate@binkert.org