summaryrefslogtreecommitdiffstats
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-25 23:27:04 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-25 23:27:04 +0000
commitcd346349b45ef056f138a184f660b8c34c3213cc (patch)
tree31259d33ff04d4e06145951fb914f7ed1af82cdb /target-ppc/cpu.h
parent2f462816ac343a804d51e157dad6b5d91426d3e1 (diff)
downloadhqemu-cd346349b45ef056f138a184f660b8c34c3213cc.zip
hqemu-cd346349b45ef056f138a184f660b8c34c3213cc.tar.gz
Add PowerPC power-management state check callback.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3441 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index cf4a110..fc1d9bb 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -584,6 +584,7 @@ struct CPUPPCState {
/* Power management */
int power_mode;
+ int (*check_pow)(CPUPPCState *env);
/* temporary hack to handle OSI calls (only used if non NULL) */
int (*osi_call)(struct CPUPPCState *env);
OpenPOWER on IntegriCloud