SConscript revision 5794
19024Sgblack@eecs.umich.edu# -*- mode:python -*-
29024Sgblack@eecs.umich.edu
39024Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
49024Sgblack@eecs.umich.edu# All rights reserved.
59024Sgblack@eecs.umich.edu#
69024Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
79024Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
89024Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
99024Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
109024Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
119024Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
129024Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
139024Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
149024Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
159024Sgblack@eecs.umich.edu# this software without specific prior written permission.
169024Sgblack@eecs.umich.edu#
179024Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
189024Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
199024Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
209024Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
219024Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
229024Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
239024Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
249024Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
259024Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
269024Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
279024Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
289024Sgblack@eecs.umich.edu#
299024Sgblack@eecs.umich.edu# Authors: Steve Reinhardt
309024Sgblack@eecs.umich.edu#          Gabe Black
319850Sandreas.hansson@arm.com
329850Sandreas.hansson@arm.comImport('*')
339850Sandreas.hansson@arm.com
349024Sgblack@eecs.umich.eduif env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'mips':
359897Sandreas@sandberg.pp.se    SimObject('MipsBackdoor.py')
3610687SAndreas.Sandberg@ARM.com    SimObject('Malta.py')
3710687SAndreas.Sandberg@ARM.com
3810687SAndreas.Sandberg@ARM.com    TraceFlag('Malta')
3910687SAndreas.Sandberg@ARM.com    TraceFlag('MC146818')
4010687SAndreas.Sandberg@ARM.com
4110553Salexandru.dutu@amd.com    Source('backdoor.cc')
42    Source('malta.cc')
43    Source('malta_cchip.cc')
44    Source('malta_io.cc')
45    Source('malta_pchip.cc')
46