diff options
| author | Markus Armbruster <armbru@redhat.com> | 2012-08-15 13:12:20 +0200 |
|---|---|---|
| committer | Blue Swirl <blauwirbel@gmail.com> | 2012-08-18 16:54:23 +0000 |
| commit | e89001f72edde37fb36fa7c964daa1bbeb2eca26 (patch) | |
| tree | 16f7686100516d64117a63fe4926a147f8085e3c /linux-user/syscall.c | |
| parent | ff961015529437f4b83fca0a92069aebcf533c9c (diff) | |
| download | focaccia-qemu-e89001f72edde37fb36fa7c964daa1bbeb2eca26.tar.gz focaccia-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 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions