diff options
author | Igor Mammedov <imammedo@redhat.com> | 2013-04-23 10:29:40 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-05-01 13:04:18 +0200 |
commit | b8b7456d6ab7edb450ae5ec6473d3cd9a80412f4 (patch) | |
tree | 39b1a602129be6eef297683775a074be8e0e338c /include/hw/timer | |
parent | 066e9b2710be887f435e0e899fa71f1f4314f702 (diff) |
pc: Update rtc_cmos on CPU hot-plug
It provides updated currently available CPUs count to BIOS on reboot.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/hw/timer')
-rw-r--r-- | include/hw/timer/mc146818rtc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/timer/mc146818rtc.h b/include/hw/timer/mc146818rtc.h index 425bd179a4..753dda6ae7 100644 --- a/include/hw/timer/mc146818rtc.h +++ b/include/hw/timer/mc146818rtc.h @@ -8,6 +8,7 @@ ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq); void rtc_set_memory(ISADevice *dev, int addr, int val); +int rtc_get_memory(ISADevice *dev, int addr); void rtc_set_date(ISADevice *dev, const struct tm *tm); #endif /* !MC146818RTC_H */ |