1 /*- 2 * This file is in the public domain. 3 * 4 * $FreeBSD$ 5 */ 6 7 #ifndef _MACHINE_PMC_MDEP_H_ 8 #define _MACHINE_PMC_MDEP_H_ 9 10 #define PMC_MDEP_CLASS_INDEX_PPC7450 0 11 union pmc_md_op_pmcallocate { 12 uint64_t __pad[4]; 13 }; 14 15 /* Logging */ 16 #define PMCLOG_READADDR PMCLOG_READ32 17 #define PMCLOG_EMITADDR PMCLOG_EMIT32 18 19 #if _KERNEL 20 21 struct pmc_md_powerpc_pmc { 22 uint32_t pm_powerpc_evsel; 23 }; 24 25 union pmc_md_pmc { 26 struct pmc_md_powerpc_pmc pm_powerpc; 27 }; 28 29 #define PMC_TRAPFRAME_TO_PC(TF) (0) /* Stubs */ 30 #define PMC_TRAPFRAME_TO_FP(TF) (0) 31 #define PMC_TRAPFRAME_TO_SP(TF) (0) 32 33 #endif 34 35 #endif /* !_MACHINE_PMC_MDEP_H_ */ 36