OSDN Git Service

multiboot: fix e801 memory map
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Nov 2012 17:11:50 +0000 (18:11 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 30 Nov 2012 14:27:47 +0000 (08:27 -0600)
commitc6e052f0809b56a657b2afcd728e07ffddb28f06
tree9264399c00d2c4e3fe79b1b60f5af98a1f7a7720
parentfe512d65e0b752dfa7af6cfb374a0820d35040d0
multiboot: fix e801 memory map

The e801 memory sizes in the multiboot structures hard-code the available
low memory to 640.  However, the value should not include the size of the
EBDA.  Fill the value in the option ROM, getting the size of low memory
from the BIOS.

Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
pc-bios/multiboot.bin
pc-bios/optionrom/multiboot.S