diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-05-22 07:59:01 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-22 07:59:01 +0000 |
commit | 956a3e6bb7386de48b642d4fee11f7f86a2fcf9a (patch) | |
tree | 8d9be8c251241710f00d158ef536c9b5badcccce /hw/pc.h | |
parent | 9e42382fc14b999126f8cabb32761eb98153fd1b (diff) | |
download | qemu-956a3e6bb7386de48b642d4fee11f7f86a2fcf9a.zip |
Compile pckbd only once
Use a qemu_irq to indicate A20 line changes. Move I/O port 92
to pckbd.c.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -75,6 +75,8 @@ void i8042_init(qemu_irq kbd_irq, qemu_irq mouse_irq, uint32_t io_base); void i8042_mm_init(qemu_irq kbd_irq, qemu_irq mouse_irq, target_phys_addr_t base, ram_addr_t size, target_phys_addr_t mask); +void i8042_isa_mouse_fake_event(void *opaque); +void i8042_setup_a20_line(ISADevice *dev, qemu_irq *a20_out); /* pc.c */ extern int fd_bootchk; @@ -104,9 +106,6 @@ void pc_cmos_init(ram_addr_t ram_size, ram_addr_t above_4g_mem_size, FDCtrl *floppy_controller, ISADevice *s); void pc_pci_device_init(PCIBus *pci_bus); -void ioport_set_a20(int enable); -int ioport_get_a20(void); - typedef void (*cpu_set_smm_t)(int smm, void *arg); void cpu_smm_register(cpu_set_smm_t callback, void *arg); |