summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2012-08-15 13:12:20 +0200
committerBlue Swirl <blauwirbel@gmail.com>2012-08-18 16:54:23 +0000
commite89001f72edde37fb36fa7c964daa1bbeb2eca26 (patch)
tree16f7686100516d64117a63fe4926a147f8085e3c /block
parentff961015529437f4b83fca0a92069aebcf533c9c (diff)
downloadqemu-e89001f72edde37fb36fa7c964daa1bbeb2eca26.zip
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions