OSDN Git Service

hw: better i440 emulation
authorBernhard M. Wiedemann <qemudevbmw@lsmod.de>
Tue, 20 Apr 2010 18:48:06 +0000 (20:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 3 May 2010 21:03:19 +0000 (16:03 -0500)
commitec5f92ce6ac8ec09056be77e03c941be188648fa
treedc815e2c9d68798d43e62bcde22ce6cc20d2d07e
parentcb4e5f8ed1b648c451491b10dc92b1af1e324535
hw: better i440 emulation

updated version of an old patch
http://xenon.stanford.edu/~eswierk/misc/qemu-linuxbios/qemu-piix-ram-size.patch
that together with
http://www.mail-archive.com/linuxbios@linuxbios.org/msg02390.html
(which is already in coreboot trunk) allows coreboot to autodetect the amount of RAM within qemu/kvm from a register in i440 northbridge.

The message on the old patch states:
Unfortunately the current version of qemu does not set these
registers, but I have patched qemu so that it emulates the i440 more
faithfully in this regard.

Signed-off-by: Bernhard M. Wiedemann <qemudevbmw@lsmod.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c
hw/pc.h
hw/piix_pci.c