summaryrefslogtreecommitdiffstats
path: root/hw/pc.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-05-14 16:29:09 +0900
committerBlue Swirl <blauwirbel@gmail.com>2010-05-15 15:42:48 +0000
commit8e78eb28c6bc532f103857ca485ea4976b3514da (patch)
tree450017383b8c698dbdc109df868e4ab9e11d8c5e /hw/pc.h
parent6f09e686f807611aa03a91e37e9fb5cfc5283703 (diff)
downloadhqemu-8e78eb28c6bc532f103857ca485ea4976b3514da.zip
hqemu-8e78eb28c6bc532f103857ca485ea4976b3514da.tar.gz
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>
Diffstat (limited to 'hw/pc.h')
-rw-r--r--hw/pc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pc.h b/hw/pc.h
index 77239a0..abf02de 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -77,6 +77,8 @@ void rtc_set_date(RTCState *s, const struct tm *tm);
/* pc.c */
extern int fd_bootchk;
+void pc_register_ferr_irq(qemu_irq irq);
+
void ioport_set_a20(int enable);
int ioport_get_a20(void);
OpenPOWER on IntegriCloud