Commit Graph

505 Commits

Author SHA1 Message Date
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
Volker Ruppert
e99736e27a - regenerated after latest changes 2010-09-26 06:43:28 +00:00
Stanislav Shwartsman
3994761b08 Patch by Sebastian:
Missing EDD fixes for cdrom code
2010-09-25 07:21:25 +00:00
Volker Ruppert
deb572b355 - recompiled BIOS images 2010-08-07 20:59:07 +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
bfac0dd6c6 Move some defines from rombios32.c to rombios.h
Sebastian
2010-05-16 14:35:22 +00:00
Stanislav Shwartsman
f899949c3a Sebastian define port number constants 2010-05-10 05:24:39 +00:00
Volker Ruppert
e21873deab - regenerated after latest changes 2010-04-05 13:08:13 +00:00
Stanislav Shwartsman
bcc5747abe Handle tables correctly if BX_USE_EBDA_TABLES is set.
- Sebastian
2010-04-04 19:38:02 +00:00
Stanislav Shwartsman
969eb42454 Fixes by Sebastian 2010-04-04 19:33:50 +00:00
Volker Ruppert
348d36ce80 - regenerated 2010-02-09 23:51:01 +00:00
Stanislav Shwartsman
bd9e7d3a1f The default i440_pcidev values represent a valid bus and devfn. Set it to invalid values to make failed detection noticable.
- Sebastian
2010-02-09 21:23:17 +00:00
Stanislav Shwartsman
63140a9c57 rombios32.o should depend on rombios.h.
- Sebastian
2010-02-08 21:25:35 +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
9b40d6fe47 Set bios_starting_address_segment to 0xe000 and bios_rom_size to 128 kB.
- Sebastian
2010-01-29 21:09:38 +00:00
Stanislav Shwartsman
6de20a6cae Introduce BX_APPVENDOR and set it to "The Bochs Project".
- Sebastian
2010-01-29 20:57:07 +00:00
Stanislav Shwartsman
a060d16845 SMBIOS patches by Sebastian 2010-01-26 07:41:49 +00:00
Volker Ruppert
9e85439006 - regenerated after latest changes 2010-01-18 20:34:51 +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
3365b50e92 Fix comment 2010-01-17 17:35:04 +00:00
Volker Ruppert
8fda6f8810 - regenerated after latest changes 2010-01-14 18:19:11 +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
Volker Ruppert
c0c84f1a91 - regenerated after latest changes 2010-01-04 16:52:20 +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
8733e9a8e1 Remove support for BX_USE_EBDA_TABLES from smbios_init().
The SMBIOS spec says that at least the entry point should be between 0xf0000 and 0xfffff. Since the EBDA is currently limited to 1 KB disallow putting the SMBIOS tables there.
This should fix bug #1933859.

- Sebastian
2010-01-02 22:35:45 +00:00
Stanislav Shwartsman
0951f2679a makesym.perl misses symbols SF patch 2009-12-30 20:28:23 +00:00
Volker Ruppert
4fb73bde27 - regenerated after latest changes 2009-12-30 20:09:48 +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
631a806036 The EBDA overflow check should not depend on bios_table_cur_addr.
- Sebastian
2009-12-28 20:08:30 +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
Volker Ruppert
d41bbbc412 - recompiled after latest changes 2009-12-20 18:04:46 +00:00
Stanislav Shwartsman
ea2be842a2 Fix PCI memory hole by Sebastian 2009-12-20 16:43:50 +00:00
Stanislav Shwartsman
4ef233daae Remove pci_bios_bigmem_addr. It seems no longer necessary because pci_bios_mem_addr now starts at 3GB.
- Sebastian
2009-12-19 17:31:43 +00:00
Volker Ruppert
57582c1a7f - recompiled after latest changes 2009-12-12 14:24:49 +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
403454e1e4 - BIOS binaries regenerated 2009-12-11 13:42:46 +00:00
Stanislav Shwartsman
ed1de5d327 Commit "fix for BIOS bug" changed MSR_MTRRdefType to MTRR_MEMTYPE_UC.
Change it back to MTRR_MEMTYPE_WB.
2009-12-11 07:44:48 +00:00
Volker Ruppert
e14f643741 - fixed MTRR mask write bug and enabled check in msr.cc 2009-10-25 10:25:38 +00:00
Volker Ruppert
1fab3d734a - recompiled BIOS after latest changes 2009-10-24 07:16:54 +00:00
Stanislav Shwartsman
489b3ddbcb fix for BIOS bug 2009-10-23 15:32:45 +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
2f65d8dfe8 patch from QEMU 2009-09-27 09:03:02 +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
Volker Ruppert
f0ad7dd387 - regenerated after latest changes 2009-05-02 15:08:20 +00:00
Stanislav Shwartsman
bc9a191e2d bios patches by Sebastian 2009-04-26 17:17:07 +00:00
Volker Ruppert
f5facef1ef - applied non-ACPI timer interrupt routing fix from the Qemu bios patch queue
(Bochs now uses the original code of rev. 1.229 again)
2009-04-18 07:29:48 +00:00
Volker Ruppert
e012c3530e - applied some patches from Qemu's bios patch queue and the Qemu ML 2009-04-12 12:48:48 +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
Volker Ruppert
196051ed86 - updated LGPL'd VGABIOS to release 0.6c 2009-04-08 17:29:10 +00:00
Stanislav Shwartsman
522a47135f bios indent cleanuip 2009-04-03 15:53:46 +00:00
Volker Ruppert
de04d9e7cd - recompiled BIOS images 2009-03-23 11:38:07 +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
Stanislav Shwartsman
36518ba6c6 Patch by Sebastian [Bochs-developers] [PATCH] rombios32: use cpuid info in mptable processor entry 2009-02-20 15:36:29 +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
Volker Ruppert
e5eac65b59 - removed wrong character from FSF address (converted invisible and useless
2-byte character)
- updated FSF address in some files
- added license to some files
2009-02-08 09:05:52 +00:00
Volker Ruppert
4b4f80e6cb - implemented MTRR support in the bios. This is a combination of the individual
patches from the kvm tree. The code was written by Avi Kivity and Alex
  Williamson. Sebastian Herbszt added checks for CPUID_MTRR and CPUID_MSR.
2009-01-26 09:21:38 +00:00
Stanislav Shwartsman
817bbc6435 [Bochs-developers] [PATCH] rombios32: fix SMBIOS end address range reporting
The -1 seems to be in the wrong place here.

Patch by Alex Williamson from the kvm tree [1].

[1] http://git.kernel.org/?p=virt/kvm/kvm-userspace.git;a=commitdiff;h=dd0f27d08ce415da6a5215f0901e7d98ab084f79

- Sebastian
2009-01-11 19:52:36 +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
0b7b330c34 - run acpi-dsdt.dsl through cpp before compiling with iasl (to support #ifdef and
maybe other preprocessor directives)
2008-12-27 17:23:23 +00:00
Volker Ruppert
ab1da2f8f3 - the HPET merge from QEMU introduced new structures which need packing (Sebastian Herbszt) 2008-12-27 16:28:49 +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
f310ea769b - rebuild after latest changes 2008-12-23 09:22:52 +00:00
Volker Ruppert
c3b6fc563f - use "__attribute__((__packed__))" instead of "#pragma pack" (Sebastian Herbszt) 2008-12-23 09:20:43 +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
Volker Ruppert
13822e151e - applied 3 patches from the Qemu project (Anthony Liguori)
* disable stack protector for BIOS
  * make ACPI tables byte-aligned
  * fix Bochs BIOS build from a separate directory
2008-12-20 14:27:22 +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
Stanislav Shwartsman
a4e971c0a6 Add S3 state to DSDT. Handle resume event in the BIOS.
patch by Gleb Natapov
2008-12-04 18:40:54 +00:00
Stanislav Shwartsman
ebc41a1dad recompile BIOS 2008-12-03 14:49:09 +00:00
Stanislav Shwartsman
85435e7fcf Applied [Bochs-developers] [PATCH v3 1/6] Move PIC initialization out of line to save space in post code area. 2008-11-13 19:15:20 +00:00
Stanislav Shwartsman
b54ea2e0b8 Applied patch [ 2217229 ] Panic on EBDA overflow in rombios32 2008-11-03 19:53:12 +00:00
Stanislav Shwartsman
bc89bf1c48 Merge [ 2210194 ] Log pci class code patch 2008-10-31 18:07:15 +00:00
Stanislav Shwartsman
4f31cbe6b4 QEMU UUID support - QEMU only is affected 2008-10-15 19:04:09 +00:00
Stanislav Shwartsman
e872934cd5 This one is easy :) 2008-10-13 09:47:55 +00:00
Stanislav Shwartsman
91ecba9b91 Updated BIOS images 2008-10-01 08:41:19 +00:00
Stanislav Shwartsman
518293fe40 iApplied patch: Add rombios decoding of F11/F12 scancodes in support for
Microsoft's Remote Installation Services, which require F11/F12 keys
2008-10-01 07:41:22 +00:00
Volker Ruppert
21b3b51474 - remove CMOS access from AML code (SF patch #2073039) 2008-09-14 08:47:00 +00:00
Stanislav Shwartsman
53426fc136 recompile BIOS images with latest merged patches 2008-08-25 18:56:48 +00:00
Stanislav Shwartsman
e315c1db86 BIOS patches applied 2008-08-24 20:41:38 +00:00
Stanislav Shwartsman
528e4a4151 It is QEMU only so don't see any problem to apply a patch :)
Applied SF patch :
2031978  Fix VMware backdoor command 0Ah
2008-07-30 15:13:40 +00:00
Volker Ruppert
61f51bc8af - minor ATA/ATAPI model string fixes
* cut model string on boot screen if larger than 36 characters to make one
    "ata" message fit in one line
  * config parameter for model string needs one more byte
  * harddrive: terminate model string with null
2008-07-27 08:06:52 +00:00
Stanislav Shwartsman
1c09e7f5db Remove incorrect comment 2008-07-11 03:54:33 +00:00
Volker Ruppert
b6932bc3f8 - applied rombios patches from SF tracker by Sebastian
* handle shutdown status codes 0Ah, 0Bh and 0Ch
  * changed #if #else construct since hard_drive_post is always called
2008-06-22 09:05:35 +00:00
Volker Ruppert
69f3fd5693 - BIOS images regenerated 2008-06-03 16:03:40 +00:00
Stanislav Shwartsman
e34938386a Merged patch from @SF tracker 2008-06-02 20:08:10 +00:00
Volker Ruppert
a21f26bd5f - corrected image size (biossums added 512 bytes with checksum after fixing the
timestamp manually from German to English)
2008-06-01 10:01:34 +00:00
Volker Ruppert
493f99d9b7 - LGPL'd VGABIOS updated to version 0.6b (see VGABIOS-lgpl-README for details) 2008-05-30 16:55:56 +00:00