提交 05a8096f 编写于 作者: J j_mayer

Better fix for OpenPIC: should not depend on PowerPC.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2552 c046a42c-6fe2-441c-8c8c-71466251a162
上级 aafd8139
......@@ -965,7 +965,7 @@ static void openpic_map(PCIDevice *pci_dev, int region_num,
}
openpic_t *openpic_init (PCIBus *bus, SetIRQFunc *set_irq,
int *pmem_index, int nb_cpus, CPUPPCState **envp)
int *pmem_index, int nb_cpus, CPUState **envp)
{
openpic_t *opp;
uint8_t *pci_conf;
......
......@@ -859,11 +859,10 @@ 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,
struct CPUPPCState **envp);
struct CPUState **envp);
/* heathrow_pic.c */
typedef struct HeathrowPICS HeathrowPICS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册