Commit Graph

250 Commits

Author SHA1 Message Date
Volker Ruppert
9bd54cc380 Some work on the i440BX chipset AGP support in the Bochs BIOS.
- rombios.c: return maximum bus number #1 for i440BX.
- Now using different i/o and memory base address regions for PCI and AGP.
- Added some init code for the i440BX PCI/AGP bridge.
- Some code cleanups.
2018-05-03 17:55:17 +00:00
Volker Ruppert
92ce5c3846 Moved PIR table modification for the i440BX chipset from the memory code to the
BIOS init code and some related fixes and cleanups.
2018-05-01 07:05:28 +00:00
Volker Ruppert
e781a8f998 Some PCI IRQ roouting changes for i440BX chipset support.
- Bochs BIOS: Improved calculating PCI slot number from device number to handle
  the i440BX case correctly.
- Memory code: Detect and modify the PCI IRQ roouting table of the Bochs BIOS
  for the i440BX chipset (TODO: this could be done by the BIOS itself after
  copying to shadow RAM).
2018-04-29 16:22:44 +00:00
Volker Ruppert
69be05b2b5 Started preparing the Bochs BIOS for i440BX chipset support.
- Added symbols for the i440BX host bridge device ID.
- Probe and search for devices on PCI bus #1 (AGP).
- Set up memory and i/o regions only for header type 0.
- Set AGP aperture size to 64 MB.
- TODO: PCI IRQ routing, i440BX specific register setup.
2018-04-24 21:30:31 +00:00
Volker Ruppert
776e8270f6 Started preparing Bochs BIOS for the sector size option.
- Function ata_cmd_data_io: using fixed block size 512 only for 'identify'
  commands. For read/write commands the hard disk sector size must be used.
- Take account of sector size when calculating hard disk size in MBytes (TODO:
  calculation is not correct for not yet existing very big disks).
- updated comment.
2018-04-05 21:35:41 +00:00
Volker Ruppert
82f45f262a Small addition for the plug&play BIOS stub: added support for function 0x0000
(currently returning 0 for number of device nodes).
2018-01-28 11:59:29 +00:00
Volker Ruppert
e5370fa2ac Regenerated configure script and recompiled BIOS for HPET support. 2017-04-17 07:28:22 +00:00
Volker Ruppert
9b0abda1f5 Recompiled after MP table fix. 2017-03-02 18:39:35 +00:00
Volker Ruppert
67896c66ae Recompiled after adding "fastboot" option. 2017-02-16 21:45:07 +00:00
Volker Ruppert
35a19e4777 Fixed reading extended memory size from CMOS. 2017-02-11 08:53:17 +00:00
Volker Ruppert
02b6de6a61 Added byte/word reference macro to produce optimal code and understand
(SF patch #533 by Yeong-uk Jo).
2017-02-10 18:29:00 +00:00
Volker Ruppert
dca964c119 Some 8-bit register reference macro changes to produce more effective code
(SF patch #532 by Yeong-uk Jo).
2016-03-17 17:14:43 +00:00
Volker Ruppert
56a7b11ab5 Align PCI memory regions at 64k boundary to make Bochs memory handlers work
correctly (registering small MMIO regions of USB controllers could fail otherwise).
2015-11-02 17:00:24 +00:00
Volker Ruppert
f7726990f2 Fixed MTRR setup for memory size > 4 GB. 2015-08-22 06:19:13 +00:00
Volker Ruppert
f8264a7b38 The RSDT table may be detected incorrectly within the rombios32 string table.
Split copying signature and the check for in to parts to fix this ACPI issue.
2015-04-18 13:19:21 +00:00
Volker Ruppert
d01a6176a8 Fixed keyboard scancode processing after keyboard intercept using stack
manipulation (SF bug report #1193).
2014-12-26 10:32:26 +00:00
Volker Ruppert
366bbbba75 Fixed int74_function() for 4-byte (wheel mouse) packets.
Updated year and copyright.
2014-07-10 07:29:18 +00:00
Volker Ruppert
323aa782e0 Fixed $PCI service detection 2013-08-02 16:00:10 +00:00
Volker Ruppert
0658109479 Recompiled after PS/2 mouse function change 2013-06-15 21:49:10 +00:00
Volker Ruppert
e415cb9db8 recompiled after PCI changes 2012-11-11 09:10:28 +00:00
Volker Ruppert
6cc92b1e2c recompiled after ACPI changes 2012-11-04 18:25:54 +00:00
Volker Ruppert
45a7020f5d recompiled BIOS after latest changes 2012-10-28 19:41:04 +00:00
Volker Ruppert
78e29cc7eb - recompiled after latest changes 2012-10-27 06:40:21 +00:00
Volker Ruppert
ce3228eeda - recompiled for release 2012-08-21 21:03:22 +00:00
Volker Ruppert
3c707ee976 - recompiled after patch #5 2012-07-10 18:33:52 +00:00
Volker Ruppert
625991504b - recompiled after patch #4 2012-07-10 18:31:10 +00:00
Volker Ruppert
f0c3b2ad90 - recompiled after patch #3 2012-07-10 18:28:56 +00:00
Volker Ruppert
4f2b643aca - recompiled after patch #2 2012-07-10 18:26:45 +00:00
Volker Ruppert
748315591c - recompiled BIOS after patch #1 2012-07-10 18:22:57 +00:00
Volker Ruppert
9ead528c5a - recompiled after latest changes 2012-06-28 15:20:15 +00:00
Volker Ruppert
4e95f44873 - added missing MADT interrupt source override and fixed MP table
(patches by Sebastian Herbszt)
2012-05-13 20:07:32 +00:00
Volker Ruppert
bfa3a14265 - PCI ROM handling fixes
- fixed tmpsize (patch by Sebastian Herbszt)
  - disable PCI ROM access after copying to shadow RAM (same as SeaBIOS)
2011-12-22 07:53:51 +00:00
Volker Ruppert
e38772006f - added PCI ROM init code that copies to shadow RAM and use it for both VGA
and other boot ROMs
- define and use PCI constants (patch by Sebastian Herbszt)
2011-12-20 19:34:47 +00:00
Volker Ruppert
f66a04e7d1 - recompiled BIOS images 2011-11-24 17:24:05 +00:00
Volker Ruppert
42e571ab1b - fix package size in pointing device flags 2 (SF patch #3435049)
- implemented legacy BIOS int13 AL=17/18h diskette functions (patch taken from
  comment to SF feature request #3424738)
2011-11-19 12:38:41 +00:00
Volker Ruppert
83f0e388c5 - recompiled after latest changes 2011-08-15 06:25:51 +00:00
Volker Ruppert
5a1cd21ca9 - added PCI ROM support to the Bochs BIOS (works with both pcivga and cirrus)
- 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
2011-07-03 08:12:48 +00:00
Volker Ruppert
389938a508 - recompiled after latest changes 2011-02-10 22:53:45 +00:00
Volker Ruppert
692ef9ca32 - recompiled after latest changes 2011-01-17 16:43:04 +00:00
Volker Ruppert
e99736e27a - regenerated after latest changes 2010-09-26 06:43:28 +00:00
Volker Ruppert
deb572b355 - recompiled BIOS images 2010-08-07 20:59:07 +00:00
Volker Ruppert
e21873deab - regenerated after latest changes 2010-04-05 13:08:13 +00:00
Volker Ruppert
348d36ce80 - regenerated 2010-02-09 23:51:01 +00:00
Volker Ruppert
9e85439006 - regenerated after latest changes 2010-01-18 20:34:51 +00:00
Volker Ruppert
8fda6f8810 - regenerated after latest changes 2010-01-14 18:19:11 +00:00
Volker Ruppert
c0c84f1a91 - regenerated after latest changes 2010-01-04 16:52:20 +00:00
Volker Ruppert
4fb73bde27 - regenerated after latest changes 2009-12-30 20:09:48 +00:00
Volker Ruppert
d41bbbc412 - recompiled after latest changes 2009-12-20 18:04:46 +00:00
Volker Ruppert
57582c1a7f - recompiled after latest changes 2009-12-12 14:24:49 +00:00
Volker Ruppert
403454e1e4 - BIOS binaries regenerated 2009-12-11 13:42:46 +00:00