From d1ef29dc6e9d5857d22425f9ccd0c62ad5346dfd Mon Sep 17 00:00:00 2001 From: Christophe Bothamy Date: Mon, 1 Apr 2002 21:53:23 +0000 Subject: [PATCH] - Added a biosdev "pseudo device" to handle the log output of the rombios and vgabios : . ports 0x0400 0x0401 and 0xfff0 : rombios . ports 0x0500 0x0501 and 0x0502 : vgabios The rombios log output was previously handled by the unmmapped device --- bochs/config.h.in | 1 + bochs/iodev/Makefile.in | 442 +++++++++++--------- bochs/iodev/biosdev.cc | 182 +++++++++ bochs/iodev/biosdev.h | 65 +++ bochs/iodev/devices.cc | 8 +- bochs/iodev/iodev.h | 5 +- bochs/iodev/unmapped.cc | 46 +-- bochs/iodev/unmapped.h | 5 +- bochs/patches/patch.biosdev | 783 ++++++++++++++++++++++++++++++++++++ 9 files changed, 1286 insertions(+), 251 deletions(-) create mode 100644 bochs/iodev/biosdev.cc create mode 100644 bochs/iodev/biosdev.h create mode 100644 bochs/patches/patch.biosdev diff --git a/bochs/config.h.in b/bochs/config.h.in index b39fa6b07..8be84c235 100644 --- a/bochs/config.h.in +++ b/bochs/config.h.in @@ -220,6 +220,7 @@ // multiple instances of a device class #define BX_USE_HD_SMF 1 // Hard drive +#define BX_USE_BIOS_SMF 1 // BIOS #define BX_USE_CMOS_SMF 1 // CMOS #define BX_USE_DMA_SMF 1 // DMA #define BX_USE_FD_SMF 1 // Floppy diff --git a/bochs/iodev/Makefile.in b/bochs/iodev/Makefile.in index 338f26ce2..f4ada0dd9 100644 --- a/bochs/iodev/Makefile.in +++ b/bochs/iodev/Makefile.in @@ -57,6 +57,7 @@ BX_HW_IODEV_OBJS = \ devices.o \ pic.o \ pit.o pit82c54.o pit_wrap.o \ + biosdev.o \ unmapped.o \ cmos.o \ dma.o \ @@ -107,133 +108,162 @@ dist-clean: clean # dependencies generated by # gcc -MM -I.. -I../instrument/stubs *.c *.cc | sed 's/\.cc/.@CPP_SUFFIX@/g' ########################################### +biosdev.o: biosdev.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h cdrom.o: cdrom.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h -cdrom_amigaos.o: cdrom_amigaos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ - ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ - ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ - ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h \ - scsi_commands.h + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h +cdrom_amigaos.o: cdrom_amigaos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h scsi_commands.h cdrom_beos.o: cdrom_beos.@CPP_SUFFIX@ cdrom_beos.h cdrom_osx.o: cdrom_osx.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h cmos.o: cmos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h crc32.o: crc32.@CPP_SUFFIX@ crc32.h ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h devices.o: devices.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h dma.o: dma.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h eth.o: eth.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h eth_arpback.o: eth_arpback.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h eth_fbsd.o: eth_fbsd.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h eth_linux.o: eth_linux.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h eth_null.o: eth_null.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h eth_packetmaker.o: eth_packetmaker.@CPP_SUFFIX@ ../bochs.h ../config.h \ ../osdep.h ../debug/debug.h ../bxversion.h ../gui/siminterface.h \ ../state_file.h ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h \ ../pc_system.h ../gui/gui.h ../gui/control.h ../gui/keymap.h \ - ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h \ + ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h \ + ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h +eth_tap.o: eth_tap.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ @@ -244,212 +274,222 @@ eth_win32.o: eth_win32.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h floppy.o: floppy.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h harddrv.o: harddrv.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h ioapic.o: ioapic.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h iodebug.o: iodebug.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h keyboard.o: keyboard.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h \ - scancodes.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h /usr/include/math.h scancodes.h ne2k.o: ne2k.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h parallel.o: parallel.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h pci.o: pci.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h pic.o: pic.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h pit.o: pit.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h pit82c54.o: pit82c54.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h pit82c54.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h pit82c54.h pit_wrap.o: pit_wrap.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h pit_wrap.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h pit_wrap.h sb16.o: sb16.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h scancodes.o: scancodes.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h \ - scancodes.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h scancodes.h serial.o: serial.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h serial_raw.o: serial_raw.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h slowdown_timer.o: slowdown_timer.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h soundlnx.o: soundlnx.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ - ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ - ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ - ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ - ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ - ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h soundwin.o: soundwin.@CPP_SUFFIX@ unmapped.o: unmapped.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ - ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ + ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h +vga.o: vga.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ + ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h -vga.o: vga.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ - ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ - ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ - ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ - ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ - ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ - ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ - ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ - ../iodev/guest2host.h ../iodev/slowdown_timer.h \ - ../instrument/stubs/instrument.h diff --git a/bochs/iodev/biosdev.cc b/bochs/iodev/biosdev.cc new file mode 100644 index 000000000..5f632c5a6 --- /dev/null +++ b/bochs/iodev/biosdev.cc @@ -0,0 +1,182 @@ +///////////////////////////////////////////////////////////////////////// +// $Id: biosdev.cc,v 1.1 2002-04-01 21:53:23 cbothamy Exp $ +///////////////////////////////////////////////////////////////////////// +// +// Copyright (C) 2002 MandrakeSoft S.A. +// +// MandrakeSoft S.A. +// 43, rue d'Aboukir +// 75002 Paris - France +// http://www.linux-mandrake.com/ +// http://www.mandrakesoft.com/ +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + + + + +#include "bochs.h" + +bx_biosdev_c bx_biosdev; + +#if BX_USE_BIOS_SMF +#define this (&bx_biosdev) +#endif + +logfunctions *bioslog; +logfunctions *vgabioslog; + +bx_biosdev_c::bx_biosdev_c(void) +{ + bioslog = new logfunctions(); + bioslog->put("BIOS"); + bioslog->settype(BIOSLOG); + s.bios_message_i = 0; + + vgabioslog = new logfunctions(); + vgabioslog->put("VBIOS"); + vgabioslog->settype(BIOSLOG); + s.vgabios_message_i = 0; +} + +bx_biosdev_c::~bx_biosdev_c(void) +{ + if ( bioslog != NULL ) + { + delete bioslog; + bioslog = NULL; + } + + if ( vgabioslog != NULL ) + { + delete vgabioslog; + vgabioslog = NULL; + } +} + + void +bx_biosdev_c::init(bx_devices_c *d) +{ + BX_BIOS_THIS devices = d; + + BX_BIOS_THIS devices->register_io_write_handler(this, write_handler, + 0x0400, "Bios Panic Port 1"); + BX_BIOS_THIS devices->register_io_write_handler(this, write_handler, + 0x0401, "Bios Panic Port 2"); + BX_BIOS_THIS devices->register_io_write_handler(this, write_handler, + 0xfff0, "Bios Info Port"); + + BX_BIOS_THIS devices->register_io_write_handler(this, write_handler, + 0x0501, "VGABios Panic Port 1"); + BX_BIOS_THIS devices->register_io_write_handler(this, write_handler, + 0x0502, "VGABios Panic Port 2"); + BX_BIOS_THIS devices->register_io_write_handler(this, write_handler, + 0x0500, "VGABios Info Port"); +} + + + // static IO port write callback handler + // redirects to non-static class handler to avoid virtual functions + + void +bx_biosdev_c::write_handler(void *this_ptr, Bit32u address, Bit32u value, unsigned io_len) +{ +#if !BX_USE_BIOS_SMF + bx_biosdev_c *class_ptr = (bx_biosdev_c *) this_ptr; + + class_ptr->write(address, value, io_len); +} + + void +bx_biosdev_c::write(Bit32u address, Bit32u value, unsigned io_len) +{ +#else + UNUSED(this_ptr); +#endif // !BX_USE_BIOS_SMF + UNUSED(io_len); + + + switch (address) { + // 0x400-0x401 are used as panic ports for the rombios + case 0x0401: + if (BX_BIOS_THIS s.bios_message_i > 0) { + // if there are bits of message in the buffer, print them as the + // panic message. Otherwise fall into the next case. + if (BX_BIOS_THIS s.bios_message_i >= BX_BIOS_MESSAGE_SIZE) + BX_BIOS_THIS s.bios_message_i = BX_BIOS_MESSAGE_SIZE-1; + BX_BIOS_THIS s.bios_message[ BX_BIOS_THIS s.bios_message_i] = 0; + BX_BIOS_THIS s.bios_message_i = 0; + bioslog->panic("%s", BX_BIOS_THIS s.bios_message); + break; + } + case 0x0400: + bioslog->panic("BIOS panic at rombios.c, line %d", value); + break; + + // 0xfff0 is used as the message port for the rombios + case 0xfff0: + BX_BIOS_THIS s.bios_message[BX_BIOS_THIS s.bios_message_i] = + (Bit8u) value; + BX_BIOS_THIS s.bios_message_i ++; + if ( BX_BIOS_THIS s.bios_message_i >= BX_BIOS_MESSAGE_SIZE ) { + BX_BIOS_THIS s.bios_message[ BX_BIOS_MESSAGE_SIZE - 1] = 0; + BX_BIOS_THIS s.bios_message_i = 0; + bioslog->info("%s", BX_BIOS_THIS s.bios_message); + } + else if ((value & 0xff) == '\n') { + BX_BIOS_THIS s.bios_message[ BX_BIOS_THIS s.bios_message_i - 1 ] = 0; + BX_BIOS_THIS s.bios_message_i = 0; + bioslog->info("%s", BX_BIOS_THIS s.bios_message); + } + break; + + // 0x501-0x502 are used as panic ports for the vgabios + case 0x0502: + if (BX_BIOS_THIS s.vgabios_message_i > 0) { + // if there are bits of message in the buffer, print them as the + // panic message. Otherwise fall into the next case. + if (BX_BIOS_THIS s.vgabios_message_i >= BX_BIOS_MESSAGE_SIZE) + BX_BIOS_THIS s.vgabios_message_i = BX_BIOS_MESSAGE_SIZE-1; + BX_BIOS_THIS s.vgabios_message[ BX_BIOS_THIS s.vgabios_message_i] = 0; + BX_BIOS_THIS s.vgabios_message_i = 0; + vgabioslog->panic("%s", BX_BIOS_THIS s.vgabios_message); + break; + } + case 0x0501: + vgabioslog->panic("BIOS panic at rombios.c, line %d", value); + break; + + // 0x0500 is used as the message port for the vgabios + case 0x0500: + BX_BIOS_THIS s.vgabios_message[BX_BIOS_THIS s.vgabios_message_i] = + (Bit8u) value; + BX_BIOS_THIS s.vgabios_message_i ++; + if ( BX_BIOS_THIS s.vgabios_message_i >= BX_BIOS_MESSAGE_SIZE ) { + BX_BIOS_THIS s.vgabios_message[ BX_BIOS_MESSAGE_SIZE - 1] = 0; + BX_BIOS_THIS s.vgabios_message_i = 0; + vgabioslog->info("%s", BX_BIOS_THIS s.vgabios_message); + } + else if ((value & 0xff) == '\n') { + BX_BIOS_THIS s.vgabios_message[ BX_BIOS_THIS s.vgabios_message_i - 1 ] = 0; + BX_BIOS_THIS s.vgabios_message_i = 0; + vgabioslog->info("%s", BX_BIOS_THIS s.vgabios_message); + } + break; + + default: + break; + } +} diff --git a/bochs/iodev/biosdev.h b/bochs/iodev/biosdev.h new file mode 100644 index 000000000..4a434335e --- /dev/null +++ b/bochs/iodev/biosdev.h @@ -0,0 +1,65 @@ +///////////////////////////////////////////////////////////////////////// +// $Id: biosdev.h,v 1.1 2002-04-01 21:53:23 cbothamy Exp $ +///////////////////////////////////////////////////////////////////////// +// +// Copyright (C) 2002 MandrakeSoft S.A. +// +// MandrakeSoft S.A. +// 43, rue d'Aboukir +// 75002 Paris - France +// http://www.linux-mandrake.com/ +// http://www.mandrakesoft.com/ +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +#define BX_BIOS_MESSAGE_SIZE 80 + + +#if BX_USE_BIOS_SMF +# define BX_BIOS_SMF static +# define BX_BIOS_THIS bx_biosdev. +#else +# define BX_BIOS_SMF +# define BX_BIOS_THIS this-> +#endif + + +class bx_biosdev_c { +public: + bx_biosdev_c(void); + ~bx_biosdev_c(void); + + BX_BIOS_SMF void init(bx_devices_c *d); + +private: + + static void write_handler(void *this_ptr, Bit32u address, Bit32u value, unsigned io_len); +#if !BX_USE_BIOS_SMF + void write(Bit32u address, Bit32u value, unsigned io_len); +#endif + + struct { + Bit8u bios_message[BX_BIOS_MESSAGE_SIZE]; + unsigned int bios_message_i; + + Bit8u vgabios_message[BX_BIOS_MESSAGE_SIZE]; + unsigned int vgabios_message_i; + } s; // state information + + bx_devices_c *devices; + }; + +extern bx_biosdev_c bx_biosdev; diff --git a/bochs/iodev/devices.cc b/bochs/iodev/devices.cc index f81572f58..efc3e35ee 100644 --- a/bochs/iodev/devices.cc +++ b/bochs/iodev/devices.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: devices.cc,v 1.22 2002-03-26 13:59:35 bdenney Exp $ +// $Id: devices.cc,v 1.23 2002-04-01 21:53:23 cbothamy Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2002 MandrakeSoft S.A. @@ -56,6 +56,7 @@ bx_devices_c::bx_devices_c(void) keyboard = NULL; dma = NULL; floppy = NULL; + biosdev = NULL; cmos = NULL; serial = NULL; parallel = NULL; @@ -102,7 +103,7 @@ bx_devices_c::~bx_devices_c(void) void bx_devices_c::init(BX_MEM_C *newmem) { - BX_DEBUG(("Init $Id: devices.cc,v 1.22 2002-03-26 13:59:35 bdenney Exp $")); + BX_DEBUG(("Init $Id: devices.cc,v 1.23 2002-04-01 21:53:23 cbothamy Exp $")); mem = newmem; // Start with all IO port address registered to unmapped handler // MUST be called first @@ -123,6 +124,9 @@ bx_devices_c::init(BX_MEM_C *newmem) ioapic->set_id (BX_IOAPIC_DEFAULT_ID); #endif + // BIOS log + biosdev = &bx_biosdev; + biosdev->init(this); // CMOS RAM & RTC cmos = &bx_cmos; diff --git a/bochs/iodev/iodev.h b/bochs/iodev/iodev.h index ebd673826..02800a5fc 100644 --- a/bochs/iodev/iodev.h +++ b/bochs/iodev/iodev.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: iodev.h,v 1.11 2001-12-18 13:12:45 vruppert Exp $ +// $Id: iodev.h,v 1.12 2002-04-01 21:53:23 cbothamy Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -38,6 +38,7 @@ #define BX_NO_IRQ -1 +class bx_biosdev_c; class bx_pit_c; class bx_keyb_c; class bx_dma_c; @@ -97,6 +98,7 @@ public: static void timer_handler(void *); void timer(void); + bx_biosdev_c *biosdev; bx_ioapic_c *ioapic; bx_pci_c *pci; bx_pit_c *pit; @@ -157,6 +159,7 @@ private: #if BX_SUPPORT_APIC # include "iodev/ioapic.h" #endif +#include "iodev/biosdev.h" #include "iodev/cmos.h" #include "iodev/dma.h" #include "iodev/floppy.h" diff --git a/bochs/iodev/unmapped.cc b/bochs/iodev/unmapped.cc index befeca065..53637c7c5 100644 --- a/bochs/iodev/unmapped.cc +++ b/bochs/iodev/unmapped.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: unmapped.cc,v 1.14 2001-12-21 19:33:18 bdenney Exp $ +// $Id: unmapped.cc,v 1.15 2002-04-01 21:53:23 cbothamy Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -35,28 +35,17 @@ bx_unmapped_c bx_unmapped; #define this (&bx_unmapped) #endif -logfunctions *bioslog; - bx_unmapped_c::bx_unmapped_c(void) { put("UNMP"); settype(UNMAPLOG); - bioslog = new logfunctions (); - bioslog->put("BIOS"); - bioslog->settype (BIOSLOG); s.port80 = 0x00; s.port8e = 0x00; - - s.bios_message_i = 0; } bx_unmapped_c::~bx_unmapped_c(void) { - if ( bioslog != NULL ) /* DT 17.12.2001 21:32 */ - { - delete bioslog; - bioslog = NULL; - } + // Nothing yet } void @@ -247,41 +236,12 @@ bx_unmapped_c::write(Bit32u address, Bit32u value, unsigned io_len) // BX_DEBUG(("unsupported IO write to port %04x of %02x", // address, value)); break; - case 0x0401: - if (BX_UM_THIS s.bios_message_i > 0) { - // if there are bits of message in the buffer, print them as the - // panic message. Otherwise fall into the next case. - if (BX_UM_THIS s.bios_message_i >= BX_BIOS_MESSAGE_SIZE) - BX_UM_THIS s.bios_message_i = BX_BIOS_MESSAGE_SIZE-1; - BX_UM_THIS s.bios_message[ BX_UM_THIS s.bios_message_i] = 0; - BX_UM_THIS s.bios_message_i = 0; - bioslog->panic((BX_UM_THIS s.bios_message)); - break; - } - case 0x0400: - bioslog->panic("BIOS panic at rombios.c, line %d", value); - break; + case 0xfedc: bx_dbg.debugger = (value > 0); BX_DEBUG(( "DEBUGGER = %u", (unsigned) bx_dbg.debugger)); break; - case 0xfff0: - BX_UM_THIS s.bios_message[BX_UM_THIS s.bios_message_i] = - (Bit8u) value; - BX_UM_THIS s.bios_message_i ++; - if ( BX_UM_THIS s.bios_message_i >= BX_BIOS_MESSAGE_SIZE ) { - BX_UM_THIS s.bios_message[ BX_BIOS_MESSAGE_SIZE - 1] = 0; - BX_UM_THIS s.bios_message_i = 0; - bioslog->info("%s", BX_UM_THIS s.bios_message); - } - else if ((value & 0xff) == '\n') { - BX_UM_THIS s.bios_message[ BX_UM_THIS s.bios_message_i - 1 ] = 0; - BX_UM_THIS s.bios_message_i = 0; - bioslog->info("%s", BX_UM_THIS s.bios_message); - } - break; - default: break; } diff --git a/bochs/iodev/unmapped.h b/bochs/iodev/unmapped.h index dae264d46..24dae7786 100644 --- a/bochs/iodev/unmapped.h +++ b/bochs/iodev/unmapped.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: unmapped.h,v 1.5 2001-10-03 13:10:38 bdenney Exp $ +// $Id: unmapped.h,v 1.6 2002-04-01 21:53:23 cbothamy Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -58,9 +58,6 @@ private: struct { Bit8u port80; Bit8u port8e; - - char bios_message[BX_BIOS_MESSAGE_SIZE]; - unsigned int bios_message_i; } s; // state information bx_devices_c *devices; diff --git a/bochs/patches/patch.biosdev b/bochs/patches/patch.biosdev new file mode 100644 index 000000000..d7ffea5ec --- /dev/null +++ b/bochs/patches/patch.biosdev @@ -0,0 +1,783 @@ +---------------------------------------------------------------------- +Patch name: patch.biosdev +Author: Christophe Bothamy +Date: April, 1st 2002 +RCS Id: $Id: patch.biosdev,v 1.1 2002-04-01 21:53:23 cbothamy Exp $ + +Detailed description: + this patch adds a biosdev "pseudo device" to handle the log + output of the rombios and vgabios : + - ports 0x0400 0x0401 and 0xfff0 : rombios + - ports 0x0500 0x0501 and 0x0502 : vgabios + The rombios log output was previously handled by unmmapped + device + +Patch was created with: + cvs diff -u +Apply patch to what version: + cvs checked out on DATE, release version VER +Instructions: + To patch, go to main bochs directory. + Type "patch -p0 < THIS_PATCH_FILE". +---------------------------------------------------------------------- +Index: config.h.in +=================================================================== +RCS file: /cvsroot/bochs/bochs/config.h.in,v +retrieving revision 1.45 +diff -u -r1.45 config.h.in +--- config.h.in 9 Mar 2002 01:04:49 -0000 1.45 ++++ config.h.in 1 Apr 2002 21:29:10 -0000 +@@ -220,6 +220,7 @@ + // multiple instances of a device class + + #define BX_USE_HD_SMF 1 // Hard drive ++#define BX_USE_BIOS_SMF 1 // BIOS + #define BX_USE_CMOS_SMF 1 // CMOS + #define BX_USE_DMA_SMF 1 // DMA + #define BX_USE_FD_SMF 1 // Floppy +Index: iodev/Makefile.in +=================================================================== +RCS file: /cvsroot/bochs/bochs/iodev/Makefile.in,v +retrieving revision 1.14 +diff -u -r1.14 Makefile.in +--- iodev/Makefile.in 7 Feb 2002 17:18:44 -0000 1.14 ++++ iodev/Makefile.in 1 Apr 2002 21:29:11 -0000 +@@ -57,6 +57,7 @@ + devices.o \ + pic.o \ + pit.o pit82c54.o pit_wrap.o \ ++ biosdev.o \ + unmapped.o \ + cmos.o \ + dma.o \ +@@ -107,133 +108,162 @@ + # dependencies generated by + # gcc -MM -I.. -I../instrument/stubs *.c *.cc | sed 's/\.cc/.@CPP_SUFFIX@/g' + ########################################### ++biosdev.o: biosdev.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ++ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ++ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + cdrom.o: cdrom.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h +-cdrom_amigaos.o: cdrom_amigaos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ +- ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ +- ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ +- ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h \ +- scsi_commands.h ++ ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++cdrom_amigaos.o: cdrom_amigaos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ++ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ++ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h scsi_commands.h + cdrom_beos.o: cdrom_beos.@CPP_SUFFIX@ cdrom_beos.h + cdrom_osx.o: cdrom_osx.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ +- ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ +- ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ +- ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ +- ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + cmos.o: cmos.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h +-crc32.o: crc32.@CPP_SUFFIX@ crc32.h ../bochs.h ../config.h ../osdep.h \ +- ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ +- ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ +- ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++crc32.o: crc32.@CPP_SUFFIX@ crc32.h ../bochs.h ../config.h ../osdep.h \ ++ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ++ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ++ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + devices.o: devices.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h ++dma.o: dma.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ++ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ++ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ++ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h +-dma.o: dma.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ +- ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ +- ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ +- ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h + eth.o: eth.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h +-eth_arpback.o: eth_arpback.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ +- ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ +- ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ +- ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++eth_arpback.o: eth_arpback.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ++ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ++ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + eth_fbsd.o: eth_fbsd.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ +- ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ +- ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ +- ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ +- ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + eth_linux.o: eth_linux.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ +- ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ +- ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ +- ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ +- ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + eth_null.o: eth_null.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ +- ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ +- ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ +- ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ +- ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + eth_packetmaker.o: eth_packetmaker.@CPP_SUFFIX@ ../bochs.h ../config.h \ + ../osdep.h ../debug/debug.h ../bxversion.h ../gui/siminterface.h \ + ../state_file.h ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h \ + ../pc_system.h ../gui/gui.h ../gui/control.h ../gui/keymap.h \ +- ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h \ ++ ../iodev/iodev.h ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h \ ++ ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h ++eth_tap.o: eth_tap.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ++ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ++ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ + ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ + ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ + ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ +@@ -244,212 +274,222 @@ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ +- ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ +- ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ +- ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ +- ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + floppy.o: floppy.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h +-harddrv.o: harddrv.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ +- ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ +- ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ +- ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++harddrv.o: harddrv.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ++ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ++ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + ioapic.o: ioapic.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h +-iodebug.o: iodebug.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ +- ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ +- ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ +- ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h +-keyboard.o: keyboard.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++iodebug.o: iodebug.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ +- ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ +- ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ +- ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ +- ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h \ +- scancodes.h +-ne2k.o: ne2k.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ +- ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ +- ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ +- ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ + ../iodev/guest2host.h ../iodev/slowdown_timer.h \ + ../instrument/stubs/instrument.h +-parallel.o: parallel.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++keyboard.o: keyboard.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h /usr/include/math.h scancodes.h ++ne2k.o: ne2k.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ++ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ++ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ++ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++parallel.o: parallel.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ++ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ++ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + pci.o: pci.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ ++ ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ ++ ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ ++ ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ ++ ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + pic.o: pic.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ ++ ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ ++ ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ ++ ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ ++ ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h + pit.o: pit.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h +-pit82c54.o: pit82c54.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ +- ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ +- ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ +- ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h pit82c54.h ++ ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++pit82c54.o: pit82c54.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ++ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ++ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h pit82c54.h + pit_wrap.o: pit_wrap.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ +- ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ +- ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ +- ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ +- ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h pit_wrap.h ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h pit_wrap.h + sb16.o: sb16.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h +-scancodes.o: scancodes.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ +- ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ +- ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ +- ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h \ +- scancodes.h ++ ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++scancodes.o: scancodes.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ++ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ++ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h scancodes.h + serial.o: serial.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ + ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ + ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ + ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h +-serial_raw.o: serial_raw.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ +- ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ +- ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ +- ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++serial_raw.o: serial_raw.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ ++ ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ ++ ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ ++ ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + slowdown_timer.o: slowdown_timer.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ +- ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ +- ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ +- ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ +- ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + soundlnx.o: soundlnx.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ +- ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ +- ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ +- ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ +- ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ +- ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h + soundwin.o: soundwin.@CPP_SUFFIX@ + unmapped.o: unmapped.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \ + ../debug/debug.h ../bxversion.h ../gui/siminterface.h ../state_file.h \ + ../cpu/cpu.h ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h \ + ../gui/gui.h ../gui/control.h ../gui/keymap.h ../iodev/iodev.h \ +- ../iodev/pci.h ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h \ ++ ../iodev/pci.h ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h \ ++ ../iodev/dma.h ../iodev/floppy.h ../iodev/harddrv.h \ ++ ../iodev/keyboard.h ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h \ ++ ../iodev/pit_wrap.h ../iodev/pit82c54.h ../iodev/serial.h \ ++ ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ ++ ../iodev/guest2host.h ../iodev/slowdown_timer.h \ ++ ../instrument/stubs/instrument.h ++vga.o: vga.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ ++ ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ ++ ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ ++ ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ ++ ../iodev/vga.h ../iodev/biosdev.h ../iodev/cmos.h ../iodev/dma.h \ + ../iodev/floppy.h ../iodev/harddrv.h ../iodev/keyboard.h \ + ../iodev/parallel.h ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h \ + ../iodev/pit82c54.h ../iodev/serial.h ../iodev/unmapped.h \ + ../iodev/eth.h ../iodev/ne2k.h ../iodev/guest2host.h \ + ../iodev/slowdown_timer.h ../instrument/stubs/instrument.h +-vga.o: vga.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \ +- ../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \ +- ../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \ +- ../gui/control.h ../gui/keymap.h ../iodev/iodev.h ../iodev/pci.h \ +- ../iodev/vga.h ../iodev/cmos.h ../iodev/dma.h ../iodev/floppy.h \ +- ../iodev/harddrv.h ../iodev/keyboard.h ../iodev/parallel.h \ +- ../iodev/pic.h ../iodev/pit.h ../iodev/pit_wrap.h ../iodev/pit82c54.h \ +- ../iodev/serial.h ../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \ +- ../iodev/guest2host.h ../iodev/slowdown_timer.h \ +- ../instrument/stubs/instrument.h +Index: iodev/devices.cc +=================================================================== +RCS file: /cvsroot/bochs/bochs/iodev/devices.cc,v +retrieving revision 1.22 +diff -u -r1.22 devices.cc +--- iodev/devices.cc 26 Mar 2002 13:59:35 -0000 1.22 ++++ iodev/devices.cc 1 Apr 2002 21:29:11 -0000 +@@ -56,6 +56,7 @@ + keyboard = NULL; + dma = NULL; + floppy = NULL; ++ biosdev = NULL; + cmos = NULL; + serial = NULL; + parallel = NULL; +@@ -123,6 +124,9 @@ + ioapic->set_id (BX_IOAPIC_DEFAULT_ID); + #endif + ++ // BIOS log ++ biosdev = &bx_biosdev; ++ biosdev->init(this); + + // CMOS RAM & RTC + cmos = &bx_cmos; +Index: iodev/iodev.h +=================================================================== +RCS file: /cvsroot/bochs/bochs/iodev/iodev.h,v +retrieving revision 1.11 +diff -u -r1.11 iodev.h +--- iodev/iodev.h 18 Dec 2001 13:12:45 -0000 1.11 ++++ iodev/iodev.h 1 Apr 2002 21:29:11 -0000 +@@ -38,6 +38,7 @@ + #define BX_NO_IRQ -1 + + ++class bx_biosdev_c; + class bx_pit_c; + class bx_keyb_c; + class bx_dma_c; +@@ -97,6 +98,7 @@ + static void timer_handler(void *); + void timer(void); + ++ bx_biosdev_c *biosdev; + bx_ioapic_c *ioapic; + bx_pci_c *pci; + bx_pit_c *pit; +@@ -157,6 +159,7 @@ + #if BX_SUPPORT_APIC + # include "iodev/ioapic.h" + #endif ++#include "iodev/biosdev.h" + #include "iodev/cmos.h" + #include "iodev/dma.h" + #include "iodev/floppy.h" +Index: iodev/unmapped.cc +=================================================================== +RCS file: /cvsroot/bochs/bochs/iodev/unmapped.cc,v +retrieving revision 1.14 +diff -u -r1.14 unmapped.cc +--- iodev/unmapped.cc 21 Dec 2001 19:33:18 -0000 1.14 ++++ iodev/unmapped.cc 1 Apr 2002 21:29:11 -0000 +@@ -35,28 +35,17 @@ + #define this (&bx_unmapped) + #endif + +-logfunctions *bioslog; +- + bx_unmapped_c::bx_unmapped_c(void) + { + put("UNMP"); + settype(UNMAPLOG); +- bioslog = new logfunctions (); +- bioslog->put("BIOS"); +- bioslog->settype (BIOSLOG); + s.port80 = 0x00; + s.port8e = 0x00; +- +- s.bios_message_i = 0; + } + + bx_unmapped_c::~bx_unmapped_c(void) + { +- if ( bioslog != NULL ) /* DT 17.12.2001 21:32 */ +- { +- delete bioslog; +- bioslog = NULL; +- } ++ // Nothing yet + } + + void +@@ -247,39 +236,10 @@ + // BX_DEBUG(("unsupported IO write to port %04x of %02x", + // address, value)); + break; +- case 0x0401: +- if (BX_UM_THIS s.bios_message_i > 0) { +- // if there are bits of message in the buffer, print them as the +- // panic message. Otherwise fall into the next case. +- if (BX_UM_THIS s.bios_message_i >= BX_BIOS_MESSAGE_SIZE) +- BX_UM_THIS s.bios_message_i = BX_BIOS_MESSAGE_SIZE-1; +- BX_UM_THIS s.bios_message[ BX_UM_THIS s.bios_message_i] = 0; +- BX_UM_THIS s.bios_message_i = 0; +- bioslog->panic((BX_UM_THIS s.bios_message)); +- break; +- } +- case 0x0400: +- bioslog->panic("BIOS panic at rombios.c, line %d", value); +- break; ++ + case 0xfedc: + bx_dbg.debugger = (value > 0); + BX_DEBUG(( "DEBUGGER = %u", (unsigned) bx_dbg.debugger)); +- break; +- +- case 0xfff0: +- BX_UM_THIS s.bios_message[BX_UM_THIS s.bios_message_i] = +- (Bit8u) value; +- BX_UM_THIS s.bios_message_i ++; +- if ( BX_UM_THIS s.bios_message_i >= BX_BIOS_MESSAGE_SIZE ) { +- BX_UM_THIS s.bios_message[ BX_BIOS_MESSAGE_SIZE - 1] = 0; +- BX_UM_THIS s.bios_message_i = 0; +- bioslog->info("%s", BX_UM_THIS s.bios_message); +- } +- else if ((value & 0xff) == '\n') { +- BX_UM_THIS s.bios_message[ BX_UM_THIS s.bios_message_i - 1 ] = 0; +- BX_UM_THIS s.bios_message_i = 0; +- bioslog->info("%s", BX_UM_THIS s.bios_message); +- } + break; + + default: +Index: iodev/unmapped.h +=================================================================== +RCS file: /cvsroot/bochs/bochs/iodev/unmapped.h,v +retrieving revision 1.5 +diff -u -r1.5 unmapped.h +--- iodev/unmapped.h 3 Oct 2001 13:10:38 -0000 1.5 ++++ iodev/unmapped.h 1 Apr 2002 21:29:11 -0000 +@@ -58,9 +58,6 @@ + struct { + Bit8u port80; + Bit8u port8e; +- +- char bios_message[BX_BIOS_MESSAGE_SIZE]; +- unsigned int bios_message_i; + } s; // state information + + bx_devices_c *devices;