diff options
author | Markus Armbruster <armbru@redhat.com> | 2012-08-15 13:12:20 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2012-08-21 15:42:32 -0500 |
commit | cfeb9958c8f4f99f08222a47fe42ea73acb41ecc (patch) | |
tree | 858852275a7a71e26d3c3c82d474f305bc170a80 /hw/wdt_i6300esb.c | |
parent | ffc7565c81b010683c3cab8efe9accd0eb90aa0d (diff) |
pc: Fix RTC CMOS info on RAM for ram_size < 1MiB
pc_cmos_init() always claims 640KiB base memory, and ram_size - 1MiB
extended memory. The latter can underflow to "lots of extended
memory". Fix both, and clean up some.
Note: SeaBIOS currently requires 1MiB of RAM, and doesn't check
whether it got enough.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
(cherry picked from commit e89001f72edde37fb36fa7c964daa1bbeb2eca26)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/wdt_i6300esb.c')
0 files changed, 0 insertions, 0 deletions