2021-12-17 19:57:18 +03:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
|
|
|
|
void cpu_ppc_pmu_init(CPUPPCState *env);
|
2022-01-04 09:55:34 +03:00
|
|
|
|
|
|
|
#if defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY)
|
|
|
|
void pmu_update_summaries(CPUPPCState *env);
|
|
|
|
#else
|
|
|
|
static inline void pmu_update_summaries(CPUPPCState *env) { }
|
|
|
|
#endif
|
2021-12-17 19:57:18 +03:00
|
|
|
|
|
|
|
#endif
|