]> git.proxmox.com Git - mirror_qemu.git/blob - target/ppc/power8-pmu.h
Merge tag 'pull-ppc-20211217' of https://github.com/legoater/qemu into staging
[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 #include "qemu/osdep.h"
17 #include "cpu.h"
18 #include "exec/exec-all.h"
19 #include "exec/helper-proto.h"
20 #include "qemu/error-report.h"
21 #include "qemu/main-loop.h"
22
23 void cpu_ppc_pmu_init(CPUPPCState *env);
24 bool pmu_insn_cnt_enabled(CPUPPCState *env);
25
26 #endif