summary refs log tree commit diff stats
path: root/target/ppc/power8-pmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/ppc/power8-pmu.h')
-rw-r--r--target/ppc/power8-pmu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/ppc/power8-pmu.h b/target/ppc/power8-pmu.h
index 9692dd765e..c0093e2219 100644
--- a/target/ppc/power8-pmu.h
+++ b/target/ppc/power8-pmu.h
@@ -14,6 +14,9 @@
 #define POWER8_PMU_H
 
 #if defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY)
+
+#define PMC_COUNTER_NEGATIVE_VAL 0x80000000UL
+
 void cpu_ppc_pmu_init(CPUPPCState *env);
 void pmu_update_summaries(CPUPPCState *env);
 #else