aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/cpu.h')
-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;