mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
ich9: kill cmos_s3
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1366799842-18550-1-git-send-email-hutao@cn.fujitsu.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
bb71623811
commit
a3ac6b53d4
5 changed files with 6 additions and 19 deletions
|
@ -356,13 +356,13 @@ static void ich9_set_sci(void *opaque, int irq_num, int level)
|
|||
}
|
||||
}
|
||||
|
||||
void ich9_lpc_pm_init(PCIDevice *lpc_pci, qemu_irq cmos_s3)
|
||||
void ich9_lpc_pm_init(PCIDevice *lpc_pci)
|
||||
{
|
||||
ICH9LPCState *lpc = ICH9_LPC_DEVICE(lpc_pci);
|
||||
qemu_irq *sci_irq;
|
||||
|
||||
sci_irq = qemu_allocate_irqs(ich9_set_sci, lpc, 1);
|
||||
ich9_pm_init(lpc_pci, &lpc->pm, sci_irq[0], cmos_s3);
|
||||
ich9_pm_init(lpc_pci, &lpc->pm, sci_irq[0]);
|
||||
|
||||
ich9_lpc_reset(&lpc->d.qdev);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue