Commit 6d506e6dc2994030427e185bf44f0020c37ac086
1 parent
43ef9eb2
added temporary osi_call callback
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1436 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
0 deletions
target-ppc/cpu.h
@@ -159,6 +159,9 @@ typedef struct CPUPPCState { | @@ -159,6 +159,9 @@ typedef struct CPUPPCState { | ||
159 | /* Power management */ | 159 | /* Power management */ |
160 | int power_mode; | 160 | int power_mode; |
161 | 161 | ||
162 | + /* temporary hack to handle OSI calls (only used if non NULL) */ | ||
163 | + int (*osi_call)(struct CPUPPCState *env); | ||
164 | + | ||
162 | /* user data */ | 165 | /* user data */ |
163 | void *opaque; | 166 | void *opaque; |
164 | } CPUPPCState; | 167 | } CPUPPCState; |