]> git.proxmox.com Git - mirror_qemu.git/blob - target/ppc/power8-pmu.h
target/riscv: rvv-1.0: Add Zve64f support for vmulh variant insns
[mirror_qemu.git] / target / ppc / power8-pmu.h
1 /*
2 * PMU emulation helpers for TCG IBM POWER chips
3 *
4 * Copyright IBM Corp. 2021
5 *
6 * Authors:
7 * Daniel Henrique Barboza <danielhb413@gmail.com>
8 *
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.
11 */
12
13 #ifndef POWER8_PMU
14 #define POWER8_PMU
15
16 void cpu_ppc_pmu_init(CPUPPCState *env);
17
18 #if defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY)
19 void pmu_update_summaries(CPUPPCState *env);
20 #else
21 static inline void pmu_update_summaries(CPUPPCState *env) { }
22 #endif
23
24 #endif