Commit Graph

266 Commits

Author SHA1 Message Date
Stanislav Shwartsman
55e21bedcb fixed possible rombios bug - according to comment in Bochs-Devs mailing list by David Laight 2012-05-06 19:36:41 +00:00
Stanislav Shwartsman
f09bdf353a RDMSR can also read TSC so make it end-of-trace as well (same as RDTSC) 2011-11-24 16:03:51 +00:00
Volker Ruppert
e247b0f14d - 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:12 +00:00
Stanislav Shwartsman
01dbcff569 Support ctrl-alt-del for reboot by Sebastian 2011-08-16 17:54:44 +00:00
Stanislav Shwartsman
7feb947830 BIOS fixes 2011-08-15 06:05:52 +00:00
Volker Ruppert
4ce12047a9 - 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:10:16 +00:00
Stanislav Shwartsman
e9ed944ba8 BIOS32 - fix length of the BIOS service.
Fix for bug #3170157 supplied by Jonathan de Boyne Pollard.
2011-05-29 16:35:30 +00:00
Stanislav Shwartsman
0b60a50dd9 date in (c) string 2011-02-24 22:12:02 +00:00
Stanislav Shwartsman
00981cd7a6 Adding Id and Rev property to all files 2011-02-24 22:05:47 +00:00
Stanislav Shwartsman
90b728e86f Support T13 EDD-3 specification in addition to Phoenix.
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
2011-01-26 09:52:02 +00:00
Stanislav Shwartsman
2f29fdafb8 Support reporting of interface type ATAPI.
Sebastian
2011-01-25 15:50:20 +00:00
Stanislav Shwartsman
72af6740ac Use EBDA fields for mouse handling by name.
Sebastian

A simple one-liner to fix building on Mac OS X with a case-sensitive file system.

-- Heikki Lindholm
2011-01-16 19:29:11 +00:00
Stanislav Shwartsman
f2bc3a19ca Use space padding for EDD host bus and interface type like Award Modular BIOS v4.51PG and AMIBIOS V3.02.
Sebastian
2011-01-13 20:47:00 +00:00
Stanislav Shwartsman
2a6df4fc1e Spelling fixes from VirtualBox.
Sebastian
2010-12-29 06:39:53 +00:00
Stanislav Shwartsman
715e65dd05 Merge EDD INT 15 Fn 48h code between int13_harddisk() and int13_cdrom().
Sebastian
2010-09-26 18:38:58 +00:00
Stanislav Shwartsman
3994761b08 Patch by Sebastian:
Missing EDD fixes for cdrom code
2010-09-25 07:21:25 +00:00
Stanislav Shwartsman
e989201277 I could not find DPTE revision 0x10 mentioned in the specifications.
Size of 66 bytes is invalid. Also clear DPT "reserved3" field.

Sebastian
2010-08-07 06:58:10 +00:00
Stanislav Shwartsman
fd155a5f56 Bios fixes by Sebastian 2010-08-01 21:54:32 +00:00
Stanislav Shwartsman
f899949c3a Sebastian define port number constants 2010-05-10 05:24:39 +00:00
Stanislav Shwartsman
969eb42454 Fixes by Sebastian 2010-04-04 19:33:50 +00:00
Stanislav Shwartsman
27d82f8856 Init PIC on CMOS shutdown status 05h. Should fix bug #2734455.
- Sebastian
2010-02-08 20:56:55 +00:00
Stanislav Shwartsman
9070f65d32 BIOS updates by Sebastian 2010-02-01 21:05:42 +00:00
Stanislav Shwartsman
327a4ab5db Mark 1 GB instead of 512 MB at 3 GB as UC.
Add PNP BIOS dummy support
by Sebsatian
2010-01-18 20:04:44 +00:00
Stanislav Shwartsman
d548442c48 ROM BIOS patches by Sebastia 2010-01-14 07:04:40 +00:00
Stanislav Shwartsman
fcfac5f993 BIOS fixes from Sebastian 2010-01-05 08:20:05 +00:00
Stanislav Shwartsman
0e57ef4cee With BX_USE_EBDA_TABLES memory used by the MP table should be marked as reserved.
This should fix bug #1947249.

- Sebastian
2010-01-03 19:23:02 +00:00
Stanislav Shwartsman
aa07cd0324 Tables generated in rombios32 were overwriten by the IPL code in rombios.
This should partially fix bug #1933859.

- Sebastian
2009-12-30 19:21:46 +00:00
Stanislav Shwartsman
ddf4df1dc0 Remove broken support for BX_CPU < 3.
- Sebastian
2009-12-27 17:03:14 +00:00
Stanislav Shwartsman
79e08eb21e BIOS patches from Sebastian 2009-12-21 08:08:24 +00:00
Stanislav Shwartsman
ea2be842a2 Fix PCI memory hole by Sebastian 2009-12-20 16:43:50 +00:00
Stanislav Shwartsman
589db6cf4a Fix interrupt vectors for INT 60h-66h (reserved for user interrupt) by setting them to zero.
Move code for INT setup to post_init_ivt.
2009-12-12 08:29:01 +00:00
Volker Ruppert
7e56eae48c - fixed SF bug #2851495: if PCI BIOS functions return without error, the
int1a_handler must complete with iret to re-enable interrupts
2009-09-28 16:36:51 +00:00
Stanislav Shwartsman
0778545e2c fixed comment 2009-06-14 06:00:36 +00:00
Stanislav Shwartsman
bd15c11ee1 Fix rom checksum for rom size of 65536 bytes.
- Sebastian
2009-06-07 21:34:59 +00:00
Volker Ruppert
8ce5570946 - implemented INT 15h/89h (patch by Sebastian Herbszt) 2009-05-10 08:26:42 +00:00
Stanislav Shwartsman
bc9a191e2d bios patches by Sebastian 2009-04-26 17:17:07 +00:00
Volker Ruppert
3b0fb9f28a - removed special case for the Bochs VBE LFB base address (it can be treated
like other PCI devices now)
- changed base address for the PCI memory space to 0xc0000000
- rombios32: fixed a warning
- fixed timeout flag for serial i/o functions
2009-04-10 16:37:02 +00:00
Stanislav Shwartsman
f34cce9177 [Bochs-developers] [PATCH resend] compute checksum for roms bigger than a segment 2009-04-09 20:34:09 +00:00
Stanislav Shwartsman
522a47135f bios indent cleanuip 2009-04-03 15:53:46 +00:00
Stanislav Shwartsman
08f9c8dceb Patch by Sebastian:
Fix parameter count for set_e820_range() in legacy bios.
It's called with too few parameters since rombios.c 1.224.
2009-02-21 21:45:34 +00:00
Volker Ruppert
a1a4574074 - fixed PCI IRQ router check for legacy BIOS (checking vendor ID only) 2009-02-09 17:06:06 +00:00
Stanislav Shwartsman
06e90a9304 Deduplicate INT 15h, AX=E820h code by removing some identical parts.
- Sebastian
2009-01-10 10:50:07 +00:00
Volker Ruppert
f2f5d5c915 - applied 3 patches from the Qemu project
* added support for memory above the PCI hole (Izik Eidus)
  * smp_probe: instead of timimg out, wait until all cpus are up (Avi Kivity)
  * Bochs BIOS changes to support HPET in Qemu (Beth Kon)
- added documentation about CMOS registers set by Qemu
2008-12-25 16:58:44 +00:00
Volker Ruppert
1060c19b04 - added support for booting from option ROM with BCV entry (Laurent Vivier) 2008-12-23 09:20:06 +00:00
Stanislav Shwartsman
62782f125c Patch applied 2008-12-15 06:05:52 +00:00
Stanislav Shwartsman
0f2a7640e5 Merged patchfix by Sebastian 2008-12-07 17:32:29 +00:00
Stanislav Shwartsman
02e21074a0 Don't power down vga card on entering S3 state.
Patch by Gleb Natapov
2008-12-04 18:48:33 +00:00
Stanislav Shwartsman
dcf68cca6d Don't use unreserved memory in BIOS.
Patch by Gleb Natapov
2008-12-04 18:46:55 +00:00
Stanislav Shwartsman
4bc2d5b4e9 Execute rombios32 code from rom address 0xe0000.
Patch by Gleb Natapov
2008-12-04 18:44:14 +00:00
Stanislav Shwartsman
3692baf4bb Preserve memory content during SMM iniT.
Patch by Gleb Natapov
2008-12-04 18:42:32 +00:00