Commit cd346349b45ef056f138a184f660b8c34c3213cc
1 parent
2f462816
Add PowerPC power-management state check callback.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3441 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
target-ppc/cpu.h
| @@ -584,6 +584,7 @@ struct CPUPPCState { | @@ -584,6 +584,7 @@ struct CPUPPCState { | ||
| 584 | 584 | ||
| 585 | /* Power management */ | 585 | /* Power management */ |
| 586 | int power_mode; | 586 | int power_mode; |
| 587 | + int (*check_pow)(CPUPPCState *env); | ||
| 587 | 588 | ||
| 588 | /* temporary hack to handle OSI calls (only used if non NULL) */ | 589 | /* temporary hack to handle OSI calls (only used if non NULL) */ |
| 589 | int (*osi_call)(struct CPUPPCState *env); | 590 | int (*osi_call)(struct CPUPPCState *env); |