summaryrefslogtreecommitdiff
path: root/pc-bios
AgeCommit message (Collapse)AuthorFilesLines
2009-02-27Allow additions of ACPI tables from command line (Gleb Natapov)aliguori3-0/+156
This is needed to dynamically add SLIC tables with Windows activation keys. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6650 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-11Add BIOS patches necessary for hotplug (Marcelo Tosatti)aliguori7-0/+373
See each patch for appropriate Signed-off-by's. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6590 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-11Update PC BIOS to latest bits from Bochsaliguori11-436/+33
A number of patches were merged since we last pulled. Thanks to Marcelo Tosatti for rebasing the existing patches and testing. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6589 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-08Update Sparc imagesblueswir13-2/+2
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6563 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-08Switch Mac99 to OpenBIOSblueswir12-1/+1
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6560 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-03Remove accidental addition of local patch.aliguori1-1/+0
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6509 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-02Split VNC defines to vnc.h (Alexander Graf)aliguori1-0/+1
The VNC protocol contains quite some constants, some of which are currently hardcoded in the vnc.c code. This is not exactly pretty. Let's move all those constants out to vnc.h, so they are clearly separated. While at it, I also included other defines that will be used later in this patch series. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6493 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-21Add BIOS fixes from KVM treealiguori12-1/+695
See each patch for individual Signed-off-by's/commit logs git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6392 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-18Update openbios-ppc to revision 418aurel322-1/+1
- fix milliseconds PROM call - fix PCI I/O ports assignation - misc fixes Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6363 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-14Update OpenBIOS PowerPC image to revision 406aurel322-1/+1
- Support kernel arguments through -append - Quik support - PowerMac serial ports supports Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6294 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-13Update bochs biosaliguori6-344/+1
They have applied all of our patches and they have an additional HPET fix. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6289 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-12Update Sparc32 and Sparc64 imagesblueswir13-1/+1
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6273 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-09Update openbios-ppc to revision 373aurel322-1/+1
Fix boot on CD-ROM. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6264 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-09target-ppc: add an openbios-ppc imageaurel322-0/+1
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6260 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-21Update to latest Bochs BIOSaliguori6-94/+1
A number of our patches have been merged so we can now remove them from our queue. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6117 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-21Remove obsolete VGABIOS patch.aliguori1-896/+0
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6116 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-19Add patch to allow Bochs patch queue to be built from another directory.aliguori2-0/+34
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6110 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-19Add BIOS build instructions (Andre Przywara)aliguori1-0/+21
aliguori: did a little indenting and motion for aesthics. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6109 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-19Make sure ACPI structures are byte-alignedaliguori3-0/+37
Apparently, guests are very tolerant of corrupt ACPI tables because our tables have been badly corrupted for some time now. A version of Knoppix using a 2.6.11 kernel refused to boot and it turned out it was due to the interrupt override table introduced by the recent HPET commit. This patch updates the BIOS and introduces a patch to pack the ACPI tables. If you have a guest that used to work and is broken by the this commit, let me know. We have some weird hacks in the tables that I suspect are work arounds for this bug. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6108 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-17Add HPET emulation to qemu (Beth Kon)aliguori3-0/+191
This patch adds HPET emulation. It can be disabled with -disable-hpet. An hpet provides a more finely granular clocksource than otherwise available on PC. This means that latency-dependent applications (e.g. multimedia) will generally be smoother when using the HPET. Signed-off-by: Beth Kon <eak@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6081 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-17Update VGA BIOSaliguori5-1/+5
Now built from the kernel.org git tree. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6079 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-17Use kernel.org git mirror instead of repo.or.cz. The kernel.org git aliguori2-2/+3
mirror is updated more regularly and reliably. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6078 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-17Update to the latest Bochs BIOSaliguori8-42/+86
Update the PC BIOS to the latest version, split out the patches into patch series, and update the README to point to the new location of the Bochs BIOS source tree. Also update the gitignore to allow the patch queue directory to be used. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6077 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-17Add bamboo.dtb compiled from bamboo.dtsaurel321-0/+0
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6070 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-16target-ppc: IBM PowerPC 440EP Bamboo reference board emulationaurel321-0/+234
Since most IO devices are integrated into the 440EP chip, "Bamboo support" mostly entails implementing the -kernel, -initrd, and -append options. These options are implemented by loading the guest as if u-boot had done it, i.e. loading a flat device tree, updating it to hold initrd addresses, ram size, and command line, and passing the FDT address in r3. Since we use it with KVM, we enable the virtio block driver and include hooks necessary for KVM support. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6067 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-13Remove unnecessary trailing newlinesblueswir11-1/+0
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6000 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-18Update OpenBIOS images to SVN r237.blueswir13-1/+1
Changes: r219: Fix #size-cells for HelenOS, add /openprom/version node r220: Fix typo r221: More realistic mmu_translate r222: Fix device names to allow Net/OpenBSD to boot r223: add set-callback for Aurora 2.0 r224: Switch keyboard controller to translated mode so it works as expected r225: Add mmu release (claim added in r219) r226: Set variable defaults before nvram_init also for Sparc64 (cf. r136) r227: Use nvram boot-args and boot-device variables also for Sparc64 (cf. r137) r228: Fix compilation on OpenBSD: avoid accidental system include file use r229: Rename /packages/client-iface to /openprom/client-services r230 From Igor V. Kovalenko: This openbios-grubfs-ext2fs-block.patch fixes a problem where inode pointer is truncated to 32bit integer and then sign-extended to 64bit integer while passing second pointer argument to ext2_rdfsb. r231: Fix pad alignment r232: Remove package finding code that finds unrelated packages r233: Fix virtual to physical address translation (Igor Kovalenko) r234: Implement itlb/dtlb directed writes (Igor Kovalenko) r235: Fix warnings that would be caused by ld flag --warn-common r236: Enable ld flag --warn-common r237: Use the firmware device introduced in Qemu SVN r5256 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5262 c046a42c-6fe2-441c-8c8c-71466251a162
2008-08-21bios: update from bochs release 2.3.7aurel322-75/+24
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5039 c046a42c-6fe2-441c-8c8c-71466251a162
2008-08-02Update OpenBIOS images to SVN revision 218. Changes:blueswir13-2/+1
r186: Revert broken r161, fix identification string printing (Igor Kovalenko) r187: Fix NetBSD reset problem r188: Add a TODO for Sparc r189: Fix some Sparc32 compile warnings r190: Fix some Sparc64 compile warnings r191: Add prototypes for [v]snprintf r192: Add a common header file for libgcc functions r193: Implement obmem for NetBSD loader r194: Add Make dependencies for some files, unify Sparc32/64 build.xml files r195: Remove debug messages r196: Add a.out support for SILO r198: Add a CPU node r199: Add (bogus) memory nodes r200: Add idprom node r201: Make serial console usable r202: Add MMU node and ops r203: Add trap table setting function to client interface r204: Fix MMU translation r205: Handle 32 bit windows, remove now unused files r206: Support for simple boot device selection r207: Fix TLB entry generation r208: Fix printing of exception messages r209: Set up tick_cmpr, update assembly flags r210: Add a clock-frequency node r211: Fix available and total memory Implement a static list of mmu translations Map more pages Add a fake unmap method r212: Fix builtin.c dependencies r213: Add FCode boot loader for Solaris etc. r214: Add correct reset vectors r215: Add T1 and T2 CPUs r216: Fix wrong translations r217: Add bootargs property for kernel command line r218: Finally fix the very obscure problem which prevented normal and especially FCode boot: too small heap (used for Forth memory)! Remove forced arch_init and boot hacks git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4983 c046a42c-6fe2-441c-8c8c-71466251a162
2008-07-26Add e1000 etherboot ROM from http://www.rom-o-matic.netaliguori1-0/+0
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4952 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-28BIOS: Reenable processor SSDT generation. Don't advertise ACPI C2 or C3aurel322-42/+39
support. Thanks to Avi Kivity for the pointer. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4275 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-27bios: disable processor SSDT generation. Fixes high idle load onaurel322-44/+67
x86/x86-64. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4270 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-22bios: add support to memory above the pci holeaurel322-3/+127
(Izik Eidus) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4237 c046a42c-6fe2-441c-8c8c-71466251a162
2008-03-28update from latest Bochs BIOSaurel322-40/+35
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4115 c046a42c-6fe2-441c-8c8c-71466251a162
2008-02-01Move AUX1 and AUX2 to correct locationsblueswir12-1/+1
Update Sparc32 OpenBIOS image to SVN revision 185. Changes: r184: Enforce malloc alignment r185: Move AUX1 and AUX2 to correct locations, rename APC git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3946 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-29Update Sparc32 OpenBIOS image to SVN revision 183. Changes:blueswir12-2/+2
r182: Add handlers for timer interrupts r183: Print a message and halt if Sun4c or Sun4d git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3875 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-11Update OpenBIOS images to SVN revision 181. Changes:blueswir13-1/+1
r177: Reset fixes: * recalculate CRC to avoid error message and halt after reset * fix bug that crashed SS10/SMP when reset r178: Remove unused variable r179: Improved Module ID generation r180: Add support for eccmemctl r181: Add support for SPARCstation 20 machine type git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3804 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-14Update OpenBIOS image to SVN revision 176. Changes:blueswir13-2/+2
r172: Enable boot mode in the exception handler for both SuperSparc and TurboSparc r173: More CPU definitions r174: Add Sparc64 CPU identification r175: Add SPARCserver 600MP emulation r176: Update OHW interface to version 3. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3649 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-17 Really update the imageblueswir11-0/+0
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3406 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-17Update Sparc32 OpenBIOS image to SVN revision 171. Changes:blueswir11-1/+2
r170: Fix exception handling and printout r171: Fix 8 byte alignment problems git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3403 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-01Quickly hack PowerPC BIOS able to boot on CDROM again.j_mayer1-0/+0
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3309 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-11r158: Fix wrong number of clean/saveable windowsblueswir13-1/+1
r159: Revert previous patch r160: Fix nvram size, arch_init hack r161: Fix Sparc64 insw and outsw r162: Fix read only location write attempt r163: Change virtual address below 4G Map first 16M of RAM Execute a kernel if loaded by Qemu r164: Make client interface 64 bits wide on Sparc64 r165: NVRAM support (temporary location) r166: Fix mapping of a single byte area, fix reset and poweroff r167: Maximally align allocations r168: Enable all interrupt sources for NetBSD r169: Fix NetBSD property problems git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3118 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-28Update Sparc32 and Sparc64 OpenBIOS image to SVN revision 157. Changes:blueswir13-2/+1
r150: Try to fix system reset for SMP and SS-10 cases r151: Fix obp_dumb_memalloc r152: Fix mapping more than 2G memory r153: Get a real memory allocator for Sparc, based on PPC ofmem r154: Update totavail when memory is allocated by dumb memory allocator r155: Fix pop_fstr_copy memory leaks - console one prevented Debian 3.1r1 from installing in console=prom mode - fixing this also needed the real malloc/free r156: Hack for building on CIFS directory r157: Allow boot start PC to be different from virtual location (boot mode) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3029 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-20Delete one more leftover file.ths1-0/+0
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2838 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-20Remove leftover file, should have happened in the Linux loader rewrite commit.ths1-29/+0
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2836 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-19Linux loader rewrite, by H. Peter Anvin.ths1-7/+0
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2835 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-19Update Sparc32 OpenBIOS image to SVN revision 149. Changes:blueswir12-1/+1
r145: Fix power-management location for SS-10 r146: Fix overallocation r147: NetBSD and OpenBSD fixes: - Correct timer and interrupt controller mappings - Add ESP clock frequency to avoid division by zero - CS4231 exists only in SS5 - Disable BPP for now, it's not emulated by Qemu anyway With these fixes, one NetBSD kernel even got to root device prompt on SS5. r148: Update vsprintf.c from Linux to get 64-bit output r149: Use full 36-bit physical address space on SS10 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2831 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-07Update OpenBIOS/Sparc32 to SVN 144. Changes:blueswir12-1/+1
- Fix power-management location - Fix out of bounds accesses - Increase virtual memory supply to meet NetBSD and OpenBSD demand - More obviously alarming return values for find_pte - Fix unaligned memory access - Fix memory corruption problems reported by glibc - Fix boot-device use - Use nvram boot-args and boot-device variables - Set variable defaults before nvram_init - Improve escape sequence handling - Fix nvram parameter area - More Sparc32 CPUs - Clear preloaded kernel parameters to avoid crash at reset git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2781 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-26Update Sparc32 rom to support *BSD boot and 24 bit TCXblueswir12-1/+2
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2728 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16Update OpenBIOS Sparc images to SVN 125blueswir13-1/+1
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2688 c046a42c-6fe2-441c-8c8c-71466251a162