2 * PMU emulation helpers for TCG IBM POWER chips
4 * Copyright IBM Corp. 2021
7 * Daniel Henrique Barboza <danielhb413@gmail.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
16 #if defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY)
18 #define PMC_COUNTER_NEGATIVE_VAL 0x80000000UL
20 void cpu_ppc_pmu_init(CPUPPCState *env);
21 void pmu_mmcr01_updated(CPUPPCState *env);
23 static inline void cpu_ppc_pmu_init(CPUPPCState *env) { }
24 static inline void pmu_mmcr01_updated(CPUPPCState *env) { }