Prepared "biosdetect" option in the harddrv code.
TODO #1: Add support for a comma-separated list of BIOS options.
TODO #2: Implement support for at least "biosdetect=none" in the Bochs BIOS.
- renamed config parameter "i440fx_support" to "enabled"
- new config parameter "chipset" added (current choices "i430FX" and "i440FX")
- don't load ACPI support if the i430FX chipset is selected
- select register values for the core PCI devices depending on the chipset
- USB UHCI must be connected to a PCI slot if the i430FX chipset is used
- rombios changes to make the i430FX chipset work
- TODO #1: implement limitation to 1 cpu and 128 MB RAM for the i430FX chipset
- TODO #2: verify register behaviour of both chipsets
[Bochs-developers] [Patch #3539228] Part 3
> Added dummy EOI handler and all unused IRQ vectors set to this.QEMM 97 does not crash any more.
Looks good. Those "SET_INT_VECTOR comments" should be removed.
Sebastian
- Changed to frequently using segment base to DS based - Added set_DS function
(Set DS value,returns old DS value),(read/write)_(byte/word/dword)_DS macro
to refer DS segment based data.
- Almost BIOS interrupt handler wrapper changed to DS base to use DS-based
reference macro effectiently.
- Merged ata_cmd_data_in and ata_cmd_data_out function to ata_cmd_data_io
- Merged INT13 AH=02 and AH=03 I/O routine
- Modified cdrom_boot,int15_function,set_e820_range and pci/pnobios low level code to more optimal
- Deleted INT1C handler that duplicated with dummy_iret_handler
- Added dummy EOI handler and all unused IRQ vectors set to this.QEMM 97 does not crash any more.
- Changed INT15 AH=80,81,82,90,91 functions to return success.
- Added INT71(IRQ9 - Redirect to IRQ2) handler.
- Some IRQ handlers call INT15 with AH=91.
- INT16 handler calls INT15 with AX=9002.
- Fixed IRQ14 handler that overwrites 40:8F to 00
- scan for VGABIOS ROM after rombios32 init
- copy PCI ROM to shadow RAM at 0xc0000 and enable it
- NOTE: this feature does not work with BIOS-bochs-legacy, so we should recommend to use the
default BIOS for PCI display adapters
- TODO: load VGABIOS ROM from the vga code instead of main.cc if PCI is disabled
Callers with 66 bytes buffers will get data according to the Phoenix and with 74 bytes according to the T13 specification.
Should fix bug #3012207.
Sebastian