OSDN Git Service

added temporary osi_call callback
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 4 Jun 2005 22:16:41 +0000 (22:16 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 4 Jun 2005 22:16:41 +0000 (22:16 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1436 c046a42c-6fe2-441c-8c8c-71466251a162

target-ppc/cpu.h

index 12f7c17..7df0c62 100644 (file)
@@ -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;