X86NativeTrace.py revision 9338
16365Sgblack@eecs.umich.edu# Copyright (c) 2009 The Regents of The University of Michigan 24776SN/A# All rights reserved. 34776SN/A# 44776SN/A# Redistribution and use in source and binary forms, with or without 54776SN/A# modification, are permitted provided that the following conditions are 64776SN/A# met: redistributions of source code must retain the above copyright 74776SN/A# notice, this list of conditions and the following disclaimer; 84776SN/A# redistributions in binary form must reproduce the above copyright 94776SN/A# notice, this list of conditions and the following disclaimer in the 104776SN/A# documentation and/or other materials provided with the distribution; 114776SN/A# neither the name of the copyright holders nor the names of its 124776SN/A# contributors may be used to endorse or promote products derived from 134776SN/A# this software without specific prior written permission. 144776SN/A# 154776SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 164776SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 174776SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 184776SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 194776SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 204776SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 214776SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 224776SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 234776SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 244776SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 254776SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 264776SN/A# 274776SN/A# Authors: Gabe Black 284776SN/A 294776SN/Afrom m5.SimObject import SimObject 304776SN/Afrom m5.params import * 316365Sgblack@eecs.umich.edufrom NativeTrace import NativeTrace 324776SN/A 336365Sgblack@eecs.umich.educlass X86NativeTrace(NativeTrace): 346365Sgblack@eecs.umich.edu type = 'X86NativeTrace' 356365Sgblack@eecs.umich.edu cxx_class = 'Trace::X86NativeTrace' 369338SAndreas.Sandberg@arm.com cxx_header = 'arch/x86/nativetrace.hh' 37