Avi Kivity d0652aa8ac linuxboot: fix gdt address calculation
The gdt address calculation in linuxboot.bin is broken in two ways: first
it loads %cs into %eax, but that instruction leaves the high bits of %eax
undefined and we did not clear them.  Secondly, we completely ignore the
incorrect %eax, and use the undefined %ebx instead.

With these issues fixed, linuxboot works again.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-01-08 09:58:41 -06:00
..
2009-05-28 02:14:56 -05:00
2009-12-19 08:26:03 -06:00
2009-12-28 11:37:27 +00:00
2008-12-17 22:29:37 +00:00
2008-12-17 22:29:37 +00:00
2005-07-03 14:00:51 +00:00

- The PC BIOS comes from the Bochs project (http://bochs.sourceforge.net/).

- 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.

- video.x is a PowerMac NDRV compatible driver for a VGA frame
  buffer. It comes from the Mac-on-Linux project
  (http://www.maconlinux.org/).

- 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 Sparc32 and PowerPC (for 32 and 64 bit
  PPC CPUs) are built from OpenBIOS SVN revision 640, Sparc64 image
  from r649.

- The PXE roms come from Rom-o-Matic gPXE 0.9.9 with BANNER_TIMEOUT=0

  e1000 8086:100E
  pcnet32 1022:2000
  ns8390 1050:0940
  rtl8139 10ec:8139
  eepro100 8086:1209
  virtio 1af4:1000

  http://rom-o-matic.net/