aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vl.h b/vl.h
index 2bcf81a..5e2d8e8 100644
--- a/vl.h
+++ b/vl.h
@@ -859,9 +859,11 @@ enum {
OPENPIC_EVT_DEBUG, /* Inconditional debug event */
OPENPIC_EVT_RESET, /* Core reset event */
};
+struct CPUPPCState;
void openpic_set_irq(void *opaque, int n_IRQ, int level);
openpic_t *openpic_init (PCIBus *bus, SetIRQFunc *set_irq,
- int *pmem_index, int nb_cpus, CPUPPCState **envp);
+ int *pmem_index, int nb_cpus,
+ struct CPUPPCState **envp);
/* heathrow_pic.c */
typedef struct HeathrowPICS HeathrowPICS;