aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-04 22:16:41 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-04 22:16:41 +0000
commit6d506e6dc2994030427e185bf44f0020c37ac086 (patch)
tree0ba8bef757f3134485c703f8619cba4639e7a489 /target-ppc
parent43ef9eb267fc0daade111c35ae945dc95427e3ef (diff)
added temporary osi_call callback
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1436 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 12f7c17207..7df0c62691 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -159,6 +159,9 @@ typedef struct CPUPPCState {
/* Power management */
int power_mode;
+ /* temporary hack to handle OSI calls (only used if non NULL) */
+ int (*osi_call)(struct CPUPPCState *env);
+
/* user data */
void *opaque;
} CPUPPCState;