pc: make pc_init1() not refer ferr_irq directly.
commit8e78eb28c6bc532f103857ca485ea4976b3514da
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 14 May 2010 07:29:09 +0000 (14 16:29 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 15 May 2010 15:42:48 +0000 (15 15:42 +0000)
tree450017383b8c698dbdc109df868e4ab9e11d8c5e
parent6f09e686f807611aa03a91e37e9fb5cfc5283703
pc: make pc_init1() not refer ferr_irq directly.

By introducing a registering function, make pc_init1() not refer to
ferr_irq directly in order to make ferr_irq piix independent.
Later pc_init1() will be split out into another file keeping ferr_irq
static.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/pc.c
hw/pc.h