pmc_mdep.h revision 174405
1145332Smarcel/*- 2145332Smarcel * This file is in the public domain. 3145332Smarcel * 4145332Smarcel * $FreeBSD: head/sys/arm/include/pmc_mdep.h 174405 2007-12-07 13:45:47Z jkoshy $ 5145332Smarcel */ 6145332Smarcel 7145332Smarcel#ifndef _MACHINE_PMC_MDEP_H_ 8145332Smarcel#define _MACHINE_PMC_MDEP_H_ 9145332Smarcel 10147191Sjkoshyunion pmc_md_op_pmcallocate { 11147191Sjkoshy uint64_t __pad[4]; 12147191Sjkoshy}; 13147191Sjkoshy 14147191Sjkoshy/* Logging */ 15147191Sjkoshy#define PMCLOG_READADDR PMCLOG_READ32 16147191Sjkoshy#define PMCLOG_EMITADDR PMCLOG_EMIT32 17147191Sjkoshy 18147191Sjkoshy#if _KERNEL 19147191Sjkoshyunion pmc_md_pmc { 20147191Sjkoshy}; 21147191Sjkoshy 22174405Sjkoshy#define PMC_TRAPFRAME_TO_PC(TF) (0) /* Stubs */ 23174405Sjkoshy#define PMC_TRAPFRAME_TO_FP(TF) (0) 24174405Sjkoshy#define PMC_TRAPFRAME_TO_SP(TF) (0) 25174405Sjkoshy 26147191Sjkoshy#endif 27147191Sjkoshy 28145332Smarcel#endif /* !_MACHINE_PMC_MDEP_H_ */ 29