SConscript revision 12952
12155SN/A# -*- mode:python -*- 22155SN/A 32155SN/A# Copyright (c) 2009, 2012-2013 ARM Limited 42155SN/A# All rights reserved. 52155SN/A# 62155SN/A# The license below extends only to copyright in the software and shall 72155SN/A# not be construed as granting a license to any other intellectual 82155SN/A# property including but not limited to intellectual property relating 92155SN/A# to a hardware implementation of the functionality of the software 102155SN/A# licensed hereunder. You may use the software subject to the license 112155SN/A# terms below provided that you ensure that this notice is replicated 122155SN/A# unmodified and in its entirety in all distributions of the software, 132155SN/A# modified or unmodified, in source code or in binary form. 142155SN/A# 152155SN/A# Copyright (c) 2007-2008 The Florida State University 162155SN/A# All rights reserved. 172155SN/A# 182155SN/A# Redistribution and use in source and binary forms, with or without 192155SN/A# modification, are permitted provided that the following conditions are 202155SN/A# met: redistributions of source code must retain the above copyright 212155SN/A# notice, this list of conditions and the following disclaimer; 222155SN/A# redistributions in binary form must reproduce the above copyright 232155SN/A# notice, this list of conditions and the following disclaimer in the 242155SN/A# documentation and/or other materials provided with the distribution; 252155SN/A# neither the name of the copyright holders nor the names of its 262155SN/A# contributors may be used to endorse or promote products derived from 272155SN/A# this software without specific prior written permission. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 302155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 314202Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 322155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 332178SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 342178SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 352178SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 362178SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 372178SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 382178SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 392178SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 402178SN/A# 412178SN/A# Authors: Stephen Hines 422178SN/A# Ali Saidi 432178SN/A 442178SN/AImport('*') 452155SN/A 462178SN/Aif env['TARGET_ISA'] == 'arm': 472155SN/A# Workaround for bug in SCons version > 0.97d20071212 482155SN/A# Scons bug id: 2006 M5 Bug id: 308 492178SN/A Dir('isa/formats') 502155SN/A Source('decoder.cc') 515865Sksewell@umich.edu Source('faults.cc') 526181Sksewell@umich.edu Source('insts/branch.cc') 536181Sksewell@umich.edu Source('insts/branch64.cc') 545865Sksewell@umich.edu Source('insts/data64.cc') 553918Ssaidi@eecs.umich.edu Source('insts/macromem.cc') 565865Sksewell@umich.edu Source('insts/mem.cc') 572623SN/A Source('insts/mem64.cc') 583918Ssaidi@eecs.umich.edu Source('insts/misc.cc') 592155SN/A Source('insts/misc64.cc') 602155SN/A Source('insts/pred_inst.cc') 612292SN/A Source('insts/pseudo.cc') 626181Sksewell@umich.edu Source('insts/static_inst.cc') 636181Sksewell@umich.edu Source('insts/vfp.cc') 643918Ssaidi@eecs.umich.edu Source('insts/fplib.cc') 652292SN/A Source('interrupts.cc') 662292SN/A Source('isa.cc') 672292SN/A Source('isa_device.cc') 683918Ssaidi@eecs.umich.edu Source('linux/linux.cc') 692292SN/A Source('linux/process.cc') 702292SN/A Source('linux/system.cc') 712766Sktlim@umich.edu Source('freebsd/freebsd.cc') 722766Sktlim@umich.edu Source('freebsd/process.cc') 732766Sktlim@umich.edu Source('freebsd/system.cc') 742921Sktlim@umich.edu Source('miscregs.cc') 752921Sktlim@umich.edu Source('nativetrace.cc') 762766Sktlim@umich.edu Source('pmu.cc') 772766Sktlim@umich.edu Source('process.cc') 785529Snate@binkert.org Source('remote_gdb.cc') 792766Sktlim@umich.edu Source('semihosting.cc') 804762Snate@binkert.org Source('stacktrace.cc') 812155SN/A Source('system.cc') 822155SN/A Source('table_walker.cc') 832155SN/A Source('stage2_mmu.cc') 842155SN/A Source('stage2_lookup.cc') 852155SN/A Source('tlb.cc') 862155SN/A Source('tlbi_op.cc') 872766Sktlim@umich.edu Source('utility.cc') 882155SN/A Source('vtophys.cc') 895865Sksewell@umich.edu 902155SN/A SimObject('ArmInterrupts.py') 912155SN/A SimObject('ArmISA.py') 922155SN/A SimObject('ArmNativeTrace.py') 932155SN/A SimObject('ArmSemihosting.py') 942178SN/A SimObject('ArmSystem.py') 952178SN/A SimObject('ArmTLB.py') 962178SN/A SimObject('ArmPMU.py') 972766Sktlim@umich.edu 982178SN/A DebugFlag('Arm') 992178SN/A DebugFlag('Semihosting') 1002178SN/A DebugFlag('Decoder', "Instructions returned by the predecoder") 1012178SN/A DebugFlag('Faults', "Trace Exceptions, interrupts, svc/swi") 1022766Sktlim@umich.edu DebugFlag('PMUVerbose', "Performance Monitor") 1032766Sktlim@umich.edu DebugFlag('TLBVerbose') 1042766Sktlim@umich.edu 1052788Sktlim@umich.edu # Add files generated by the ISA description. 1062178SN/A ISADesc('isa/main.isa', decoder_splits=3, exec_splits=6) 1072733Sktlim@umich.edu