diff options
| author | Markus Armbruster | 2012-08-15 13:12:20 +0200 |
|---|---|---|
| committer | Blue Swirl | 2012-08-18 18:54:23 +0200 |
| commit | e89001f72edde37fb36fa7c964daa1bbeb2eca26 (patch) | |
| tree | 16f7686100516d64117a63fe4926a147f8085e3c /bitops.c | |
| parent | vl: Round argument of -m up to multiple of 8KiB (diff) | |
| download | qemu-e89001f72edde37fb36fa7c964daa1bbeb2eca26.tar.gz qemu-e89001f72edde37fb36fa7c964daa1bbeb2eca26.tar.xz qemu-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 'bitops.c')
0 files changed, 0 insertions, 0 deletions
