qemu/pc-bios
Kevin Wolf 26a8ec0761 multiboot: Calculate upper_mem in the ROM
The upper_mem field of the Multiboot information struct doesn't really
contain the RAM size - 1 MB like we used to calculate it, but only the
memory from 1 MB up to the first (upper) memory hole.

In order to correctly retrieve this information, the multiboot ROM now
looks at the mmap it creates anyway and tries to find the size of
contiguous usable memory from 1 MB.

Drop the multiboot.c definition of lower_mem and upper_mem because both
are queried at runtime now.

Signed-off-by: Kevin Wolf <mail@kevin-wolf.de>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1372018066-21822-3-git-send-email-mail@kevin-wolf.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-06-28 14:01:52 -05:00
..
keymaps qemu-keymaps: Finnish keyboard mapping broken 2012-07-13 10:38:16 +01:00
optionrom multiboot: Calculate upper_mem in the ROM 2013-06-28 14:01:52 -05:00
s390-ccw s390/ipl: Fix spurious errors in virtio 2013-05-31 12:50:46 -05:00
spapr-rtas Implement hcall based RTAS for pSeries machines 2011-04-01 18:34:56 +02:00
acpi-dsdt.aml seabios: update to 1.7.2 release 2013-01-21 09:17:16 +01:00
bamboo.dtb PPC: Bamboo: recompile device tree 2012-01-21 05:17:00 +01:00
bamboo.dts PPC: Bamboo: recompile device tree 2012-01-21 05:17:00 +01:00
bios.bin update seabios to release 1.7.2.2 2013-05-28 12:19:02 +02:00
efi-e1000.rom ipxe: update binaries 2013-03-25 09:13:18 +01:00
efi-eepro100.rom ipxe: update binaries 2013-03-25 09:13:18 +01:00
efi-ne2k_pci.rom ipxe: update binaries 2013-03-25 09:13:18 +01:00
efi-pcnet.rom ipxe: update binaries 2013-03-25 09:13:18 +01:00
efi-rtl8139.rom ipxe: update binaries 2013-03-25 09:13:18 +01:00
efi-virtio.rom ipxe: update binaries 2013-03-25 09:13:18 +01:00
kvmvapic.bin pc-bios: update kvmvapic.bin 2012-03-01 12:58:46 +02:00
linuxboot.bin pc-bios: update linuxboot.bin and multiboot.bin 2011-03-22 07:03:15 +01:00
Makefile pc-bios/Makefile: add a rule to produce dtb files 2009-03-07 04:56:06 +00:00
multiboot.bin multiboot: fix e801 memory map 2012-11-30 08:27:47 -06:00
ohw.diff Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
openbios-ppc Update OpenBIOS images 2013-05-05 09:53:22 +00:00
openbios-sparc32 Update OpenBIOS images 2013-05-05 09:53:22 +00:00
openbios-sparc64 Update OpenBIOS images 2013-05-05 09:53:22 +00:00
palcode-clipper target-alpha: Add custom PALcode image for CLIPPER emulation. 2011-10-08 08:46:03 -07:00
petalogix-ml605.dtb microblaze: Add PetaLogix ml605 MMU little-endian ref design 2011-03-16 15:18:58 +01:00
petalogix-s3adsp1800.dtb microblaze: Fix loading of petalogix s3adsp1800 dtb. 2009-06-03 21:54:31 +02:00
ppc_rom.bin Quickly hack PowerPC BIOS able to boot on CDROM again. 2007-10-01 06:44:33 +00:00
pxe-e1000.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
pxe-eepro100.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
pxe-ne2k_pci.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
pxe-pcnet.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
pxe-rtl8139.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
pxe-virtio.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
q35-acpi-dsdt.aml seabios: update to 1.7.2 release 2013-01-21 09:17:16 +01:00
qemu_logo_no_text.svg gtk: use better icon 2013-06-10 11:36:12 -05:00
qemu-icon.bmp sdl: Add QEMU mascot icon for use with SDL 2012-04-26 13:14:57 -05:00
README pseries: Update SLOF firmware image 2013-05-06 17:22:48 +02:00
s390-ccw.img s390: update s390-ccw.img 2013-05-06 17:30:01 +02:00
s390-zipl.rom s390x: update zipl rom 2011-06-03 13:34:01 +02:00
sgabios.bin add sgabios blob and submodule 2011-11-07 10:57:36 -06:00
slof.bin pseries: Update SLOF firmware image 2013-05-06 17:22:48 +02:00
spapr-rtas.bin pc-bios/spapr-rtas.bin: remove executable flag 2011-04-01 20:04:24 +02:00
vgabios-cirrus.bin Add new vgabios binaries to blobs list. 2010-11-16 08:39:52 -06:00
vgabios-qxl.bin spice: add qxl vgabios binary. 2010-12-09 14:23:24 +01:00
vgabios-stdvga.bin Add new vgabios binaries to blobs list. 2010-11-16 08:39:52 -06:00
vgabios-vmware.bin Add new vgabios binaries to blobs list. 2010-11-16 08:39:52 -06:00
vgabios.bin Add new vgabios binaries to blobs list. 2010-11-16 08:39:52 -06:00

- SeaBIOS (bios.bin) is the successor of pc bios.
  See http://www.seabios.org/ for more information.

- The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios
  project (http://www.nongnu.org/vgabios/).

- The PowerPC Open Hack'Ware Open Firmware Compatible BIOS is
  available at http://perso.magic.fr/l_indien/OpenHackWare/index.htm.

- OpenBIOS (http://www.openbios.org/) is a free (GPL v2) portable
  firmware implementation. The goal is to implement a 100% IEEE
  1275-1994 (referred to as Open Firmware) compliant firmware.
  The included images for PowerPC (for 32 and 64 bit PPC CPUs),
  Sparc32 and Sparc64 are built from OpenBIOS 1.1 release (SVN
  revision 1136).

- SLOF (Slimline Open Firmware) is a free IEEE 1275 Open Firmware
  implementation for certain IBM POWER hardware.  The sources are at
  https://github.com/aik/SLOF, and the image currently in qemu is
  built from git tag qemu-slof-20130430.

- sgabios (the Serial Graphics Adapter option ROM) provides a means for
  legacy x86 software to communicate with an attached serial console as
  if a video card were attached.  The master sources reside in a subversion
  repository at http://sgabios.googlecode.com/svn/trunk.  A git mirror is
  available at git://git.qemu.org/sgabios.git.

- The PXE roms come from the iPXE project. Built with BANNER_TIME 0.
  Sources available at http://ipxe.org.  Vendor:Device ID -> ROM mapping:

	8086:100e -> pxe-e1000.rom
	8086:1209 -> pxe-eepro100.rom
	1050:0940 -> pxe-ne2k_pci.rom
	1022:2000 -> pxe-pcnet.rom
	10ec:8139 -> pxe-rtl8139.rom
	1af4:1000 -> pxe-virtio.rom

- The S390 zipl loader is an addition to the official IBM s390-tools
  package. That fork is maintained in its own git repository at:
  git://repo.or.cz/s390-tools.git

- The sources for the Alpha palcode image is available from:
  git://repo.or.cz/qemu-palcode.git