nativetrace.hh revision 6365
110810Sbr@bsdpad.com/* 210810Sbr@bsdpad.com * Copyright (c) 2006 The Regents of The University of Michigan 310810Sbr@bsdpad.com * All rights reserved. 410810Sbr@bsdpad.com * 510810Sbr@bsdpad.com * Redistribution and use in source and binary forms, with or without 610810Sbr@bsdpad.com * modification, are permitted provided that the following conditions are 710810Sbr@bsdpad.com * met: redistributions of source code must retain the above copyright 810810Sbr@bsdpad.com * notice, this list of conditions and the following disclaimer; 910810Sbr@bsdpad.com * redistributions in binary form must reproduce the above copyright 1010810Sbr@bsdpad.com * notice, this list of conditions and the following disclaimer in the 1110810Sbr@bsdpad.com * documentation and/or other materials provided with the distribution; 1210810Sbr@bsdpad.com * neither the name of the copyright holders nor the names of its 1310810Sbr@bsdpad.com * contributors may be used to endorse or promote products derived from 1410810Sbr@bsdpad.com * this software without specific prior written permission. 1510810Sbr@bsdpad.com * 1610810Sbr@bsdpad.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1710810Sbr@bsdpad.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1810810Sbr@bsdpad.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1910810Sbr@bsdpad.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2010810Sbr@bsdpad.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2110810Sbr@bsdpad.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2210810Sbr@bsdpad.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2310810Sbr@bsdpad.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2410810Sbr@bsdpad.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2510810Sbr@bsdpad.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2610810Sbr@bsdpad.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2710810Sbr@bsdpad.com * 2810810Sbr@bsdpad.com * Authors: Gabe Black 2910810Sbr@bsdpad.com */ 3010810Sbr@bsdpad.com 3110810Sbr@bsdpad.com#ifndef __ARCH_SPARC_NATIVETRACE_HH__ 3210810Sbr@bsdpad.com#define __ARCH_SPARC_NATIVETRACE_HH__ 3310810Sbr@bsdpad.com 3410810Sbr@bsdpad.com#include "base/types.hh" 3510810Sbr@bsdpad.com#include "cpu/nativetrace.hh" 3610810Sbr@bsdpad.com 3710810Sbr@bsdpad.comclass ThreadContext; 3810810Sbr@bsdpad.com 3910810Sbr@bsdpad.comnamespace Trace { 4010810Sbr@bsdpad.com 4110810Sbr@bsdpad.comclass SparcNativeTrace : public NativeTrace 4210810Sbr@bsdpad.com{ 4310810Sbr@bsdpad.com public: 4410810Sbr@bsdpad.com SparcNativeTrace(const Params *p) : NativeTrace(p) 4510810Sbr@bsdpad.com {} 4610810Sbr@bsdpad.com 4710810Sbr@bsdpad.com void check(NativeTraceRecord *record); 4811794Sbrandon.potter@amd.com}; 4910810Sbr@bsdpad.com 5010810Sbr@bsdpad.com} /* namespace Trace */ 5110810Sbr@bsdpad.com 5210810Sbr@bsdpad.com#endif // __CPU_NATIVETRACE_HH__ 5310810Sbr@bsdpad.com