| /* |
| * PMU emulation helpers for TCG IBM POWER chips |
| * |
| * Copyright IBM Corp. 2021 |
| * |
| * Authors: |
| * Daniel Henrique Barboza <danielhb413@gmail.com> |
| * |
| * This work is licensed under the terms of the GNU GPL, version 2 or later. |
| * See the COPYING file in the top-level directory. |
| */ |
| |
| #ifndef POWER8_PMU |
| #define POWER8_PMU |
| |
| #include "qemu/osdep.h" |
| #include "cpu.h" |
| #include "exec/exec-all.h" |
| #include "exec/helper-proto.h" |
| #include "qemu/error-report.h" |
| #include "qemu/main-loop.h" |
| |
| void cpu_ppc_pmu_init(CPUPPCState *env); |
| bool pmu_insn_cnt_enabled(CPUPPCState *env); |
| |
| #endif |