SConscript revision 8582
110431SOmar.Naji@arm.com# -*- mode:python -*- 211229Sandreas.hansson@arm.com 310431SOmar.Naji@arm.com# Copyright (c) 2011 Google 410431SOmar.Naji@arm.com# All rights reserved. 510431SOmar.Naji@arm.com# 611229Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without 710431SOmar.Naji@arm.com# modification, are permitted provided that the following conditions are 810431SOmar.Naji@arm.com# met: redistributions of source code must retain the above copyright 910431SOmar.Naji@arm.com# notice, this list of conditions and the following disclaimer; 1010431SOmar.Naji@arm.com# redistributions in binary form must reproduce the above copyright 1110431SOmar.Naji@arm.com# notice, this list of conditions and the following disclaimer in the 1210431SOmar.Naji@arm.com# documentation and/or other materials provided with the distribution; 1311229Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its 1410431SOmar.Naji@arm.com# contributors may be used to endorse or promote products derived from 1510431SOmar.Naji@arm.com# this software without specific prior written permission. 1610431SOmar.Naji@arm.com# 1710431SOmar.Naji@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1810431SOmar.Naji@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1910431SOmar.Naji@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2010431SOmar.Naji@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2110431SOmar.Naji@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2210431SOmar.Naji@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2310431SOmar.Naji@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2410431SOmar.Naji@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2510431SOmar.Naji@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2610431SOmar.Naji@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2710431SOmar.Naji@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2810431SOmar.Naji@arm.com# 2910431SOmar.Naji@arm.com# Authors: Gabe Black 3011229Sandreas.hansson@arm.com 3110431SOmar.Naji@arm.comImport('*') 3210431SOmar.Naji@arm.com 3310431SOmar.Naji@arm.comif env['TARGET_ISA'] == 'x86': 3411229Sandreas.hansson@arm.com Source('msr.cc') 3510431SOmar.Naji@arm.com