18582Sgblack@eecs.umich.edu# -*- mode:python -*-
28582Sgblack@eecs.umich.edu
38582Sgblack@eecs.umich.edu# Copyright (c) 2011 Google
48582Sgblack@eecs.umich.edu# All rights reserved.
58582Sgblack@eecs.umich.edu#
68582Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
78582Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
88582Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
98582Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
108582Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
118582Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
128582Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
138582Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
148582Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
158582Sgblack@eecs.umich.edu# this software without specific prior written permission.
168582Sgblack@eecs.umich.edu#
178582Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
188582Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
198582Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
208582Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
218582Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
228582Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
238582Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
248582Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
258582Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
268582Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
278582Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
288582Sgblack@eecs.umich.edu#
298582Sgblack@eecs.umich.edu# Authors: Gabe Black
308582Sgblack@eecs.umich.edu
318582Sgblack@eecs.umich.eduImport('*')
328582Sgblack@eecs.umich.edu
338582Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'x86':
348582Sgblack@eecs.umich.edu    Source('msr.cc')
35