Commit Graph

469 Commits

Author SHA1 Message Date
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
Volker Ruppert
02ba8c791f - set the compatible pci interrupt router back to PIIX (SF patch #1956843 by Sebastian) 2008-05-18 11:38:24 +00:00
Stanislav Shwartsman
f5135b4860 Precompiled Bochs BIOS binaries 2008-05-02 19:45:41 +00:00
Stanislav Shwartsman
da7684bc06 bios patch: kvm: bios: don't advertise ACPI C2 or C3 support 2008-05-02 18:37:47 +00:00
Stanislav Shwartsman
a67d149dd6 Merged patches from @SF tracker for BIOS 2008-05-02 08:41:46 +00:00
Stanislav Shwartsman
024b3eece7 Merged LBA48 patch from @SF tracker 2008-04-21 14:22:01 +00:00
Stanislav Shwartsman
ae82e981c0 Updated BIOS binaries 2008-04-10 20:30:20 +00:00
Stanislav Shwartsman
dcb392311f Merged BIOS patches from @SF tracker 2008-04-08 16:41:18 +00:00
Stanislav Shwartsman
127be5b793 Fixed race condition in QEMU - can't happen in Bochs because in Bochs all RMW are atomic (for now) 2008-03-28 09:02:57 +00:00
Stanislav Shwartsman
a5544a693a indent changes 2008-03-26 16:21:46 +00:00
Stanislav Shwartsman
b45b8f20c5 Update precompiled BIOS images 2008-03-21 19:30:16 +00:00
Stanislav Shwartsman
9ebfede83b Merged patch from @SF tracker 2008-03-21 19:06:31 +00:00
Stanislav Shwartsman
ee43b33af9 Merge SF patch 2008-03-19 22:48:55 +00:00
Stanislav Shwartsman
f1f505cfab Patch from @SF tracker 2008-03-07 21:26:52 +00:00
Stanislav Shwartsman
76f1254e2e Applied patch from @SF tracker 2008-03-06 20:18:20 +00:00
Volker Ruppert
85a8f7993a - BIOS boot menu support added (SF patch #1901027 by Sebastian) 2008-03-02 19:25:34 +00:00
Stanislav Shwartsman
5813db0bad Merged PCI IDs patch by Sebastian 2008-02-27 01:41:01 +00:00
Volker Ruppert
08d7c76e09 - applied rombios boot message improvements by Sebastian
* shorten the boot failure message (removed redundant part) and added some
    indentation
  * print BEV product string
  * changed put_str to accept segment and offset as parameters. It allows
    printing strings from memory != get_CS(), e.g. option roms.
  * introduced a custom format specifier %S to bios_printf
2008-02-17 16:38:17 +00:00
Stanislav Shwartsman
2730fa9583 Fixed comment - patch from @sf tracker 2008-02-07 20:46:08 +00:00
Stanislav Shwartsman
3cb5a781e8 Merged BIOS @SF patches by Sebastian
1878558  SMBIOS fixes
1880471  SMBIOS fix type 0
2008-01-27 17:57:26 +00:00
Stanislav Shwartsman
947c7581fe whitespace cleanup 2008-01-26 09:15:27 +00:00
Stanislav Shwartsman
4634e2cd4d BIOS whitespace cleanup 2008-01-24 21:57:22 +00:00
Volker Ruppert
ec3415a7eb - applied patch from the Qemu-devel list by Filip Navara
* added generation of SSDT ACPI table that contains definitions for available
    processors
  * added basic implementation of SMBIOS
  * Added querying of BIOS UUID using VMware backdoor I/O port (enable only if
    BX_QEMU is defined)
  * Added RTC device to ACPI DSDT table
2008-01-21 21:44:29 +00:00
Stanislav Shwartsman
abe7373657 Merged some BIOS patches from @SF tracker 2008-01-21 15:06:29 +00:00
Volker Ruppert
0a8105e95e - implemented LBA48 support (since BIOS functions are limited to 32 bit, the
max. disk size is now 2 TB)
2008-01-14 19:11:15 +00:00
Stanislav Shwartsman
3b53e234da Merge SF tracker BIOS patches 2008-01-06 21:00:18 +00:00
Stanislav Shwartsman
c9299c7a3d Save CPUID signature BIOS patch from @SF tracker 2008-01-06 20:57:24 +00:00
Stanislav Shwartsman
c796f7fffa Define IPL values patch from #SF tracker 2007-12-23 19:46:27 +00:00
Volker Ruppert
46b3ec2397 - don't abort ATA reset for not existing slave drive. The reset bit must
always be cleared to avoid blocking existing master drive.
2007-12-20 18:12:35 +00:00
Volker Ruppert
688cb87e98 - skip SMM init if already done at first boot time (fixes reboot failure) 2007-12-09 15:38:41 +00:00
Stanislav Shwartsman
216f4f2f4f Fixed my BIOS optimization 2007-12-06 16:56:32 +00:00
Volker Ruppert
147633c460 - inline asm optimizations by Stanislav
- initialize PAM register for ROM-to-RAM copy even after reboot
2007-12-01 19:27:28 +00:00
Volker Ruppert
570e87733c - updated after latest changes 2007-11-18 10:21:51 +00:00
Stanislav Shwartsman
90721b75f6 Merge patch from #SF patches tracker:
1830658  Fix >32GB disk banner
2007-11-12 20:58:37 +00:00
Volker Ruppert
cd0e516962 - applied rombios patches from SF patches section by Sebastian
* save PnP Option ROM Product Name string in IPL Boot Table
  * move the #define IPL_* lines to top of the file and change
    struct ipl_entry to ipl_entry_t by using typedef
2007-11-04 15:40:20 +00:00
Stanislav Shwartsman
14b4f66d4e Fixed comments for bios_printf (patch from #SF tracker) 2007-10-19 10:26:49 +00:00
Volker Ruppert
834904f49b - improved HD recognition and CD boot (patches by Myles Watson)
* fixed minor error from printf patch confusion (negation based on wrong word)
  * added helper function await_ide
  * changed lba calculation to not corrupt lba (for debugging and clarity)
  * added support for partial completions of ata_cmd_packet (never happens in
    the simulator, but happens all the time in hardware)
  * update atapi_request_sense and atapi_is_ready - based on FILO
  * correct an int 15 call that should have been int 0x15
  * trivial fix when BX_PCIBIOS and BX_ROMBIOS32 not defined
- implemented %X in bios_printf (patch by Sebastian)
2007-10-14 08:11:35 +00:00