aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorKevin Wolf <mail@kevin-wolf.de>2013-06-23 22:07:44 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-06-28 14:01:52 -0500
commit390fb6b47144adbad453cdf95c130854728c56f8 (patch)
treed41e418a88f68e96457bea8b341fe46c019ea3af /target-ppc
parent6bedfe94c96c5ba35fcb2a52b438fefcc682669e (diff)
multiboot: Don't forget last mmap entry
When the BIOS returns ebx = 0, the current entry is still valid and needs to be included in the Multiboot memory map. Fixing this meant that using bx as the entry index doesn't work any more because it's 0 on the last entry (and it was SeaBIOS-specific anyway), so the whole loop had to change a bit and should be more generic as a result (ebx can be an arbitrary continuation number now, and the entry size returned by the BIOS is used instead of hard-coding 20 bytes). Signed-off-by: Kevin Wolf <mail@kevin-wolf.de> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Message-id: 1372018066-21822-2-git-send-email-mail@kevin-wolf.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-ppc')
0 files changed, 0 insertions, 0 deletions