diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-05-07 13:53:26 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-05-15 13:33:17 +0200 |
commit | 51c6fc699e5a42343ff1f2884f67fee1ae12eac8 (patch) | |
tree | 60b23738f6b4679576a5416f55f4dd81365f791a /Makefile | |
parent | fffac0fa089cf51437a692b546d0bdc0a92da7f9 (diff) | |
download | seabios-51c6fc699e5a42343ff1f2884f67fee1ae12eac8.tar.gz |
qemu: check rtc presence before reading cpu count from cmos
Read month register which should never have a value larger than 12.
In case the read returns 0xff assume the rtc isn't there.
Don't try to read the cpu count from cmos without rtc.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions