diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-12-13 11:51:00 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:33:51 +0100 |
commit | d3e07dc83e98127a130a29878c7c652d05eaaf18 (patch) | |
tree | c3606b01c714b597a902736e5cee40b3fae792ac /include | |
parent | 1820b70eb3fd8acf25d22485a58d0def8ad72234 (diff) | |
download | qemu-d3e07dc83e98127a130a29878c7c652d05eaaf18.zip qemu-d3e07dc83e98127a130a29878c7c652d05eaaf18.tar.gz qemu-d3e07dc83e98127a130a29878c7c652d05eaaf18.tar.bz2 |
hw/i386/pc: Extract the port92 device
This device is only used by the PC machines. The pc.c file is
already big enough, with 2255 lines. By removing 113 lines of
it, we reduced it by 5%. It is now a bit easier to navigate
the file.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/i386/pc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 58aaa23..d5ac76d 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -196,8 +196,11 @@ void pc_i8259_create(ISABus *isa_bus, qemu_irq *i8259_irqs); ISADevice *pc_find_fdc0(void); int cmos_get_fd_drive_type(FloppyDriveType fd0); +/* port92.c */ #define PORT92_A20_LINE "a20" +#define TYPE_PORT92 "port92" + /* pc_sysfw.c */ void pc_system_flash_create(PCMachineState *pcms); void pc_system_firmware_init(PCMachineState *pcms, MemoryRegion *rom_memory); |