mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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>
This commit is contained in:
parent
6f09e686f8
commit
8e78eb28c6
2 changed files with 9 additions and 1 deletions
2
hw/pc.h
2
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue