nativetrace.hh revision 7811
14776SN/A/* 26365Sgblack@eecs.umich.edu * Copyright (c) 2006 The Regents of The University of Michigan 34776SN/A * All rights reserved. 44776SN/A * 54776SN/A * Redistribution and use in source and binary forms, with or without 64776SN/A * modification, are permitted provided that the following conditions are 74776SN/A * met: redistributions of source code must retain the above copyright 84776SN/A * notice, this list of conditions and the following disclaimer; 94776SN/A * redistributions in binary form must reproduce the above copyright 104776SN/A * notice, this list of conditions and the following disclaimer in the 114776SN/A * documentation and/or other materials provided with the distribution; 124776SN/A * neither the name of the copyright holders nor the names of its 134776SN/A * contributors may be used to endorse or promote products derived from 144776SN/A * this software without specific prior written permission. 154776SN/A * 164776SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 174776SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 184776SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 194776SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 204776SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 214776SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 224776SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 234776SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 244776SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 254776SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 264776SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 274776SN/A * 286365Sgblack@eecs.umich.edu * Authors: Gabe Black 294776SN/A */ 304776SN/A 316365Sgblack@eecs.umich.edu#ifndef __ARCH_SPARC_NATIVETRACE_HH__ 326365Sgblack@eecs.umich.edu#define __ARCH_SPARC_NATIVETRACE_HH__ 334776SN/A 346216SN/A#include "base/types.hh" 356365Sgblack@eecs.umich.edu#include "cpu/nativetrace.hh" 364776SN/A 374776SN/Aclass ThreadContext; 384776SN/A 394776SN/Anamespace Trace { 404776SN/A 416365Sgblack@eecs.umich.educlass SparcNativeTrace : public NativeTrace 426365Sgblack@eecs.umich.edu{ 436365Sgblack@eecs.umich.edu public: 446365Sgblack@eecs.umich.edu SparcNativeTrace(const Params *p) : NativeTrace(p) 456365Sgblack@eecs.umich.edu {} 464776SN/A 476365Sgblack@eecs.umich.edu void check(NativeTraceRecord *record); 484776SN/A}; 494776SN/A 507811Ssteve.reinhardt@amd.com} // namespace Trace 514776SN/A 526216SN/A#endif // __CPU_NATIVETRACE_HH__ 53