summaryrefslogtreecommitdiffstats
path: root/hw/pc.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-17 22:32:52 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-17 22:32:52 +0000
commit0bacd1300dbcd7f56bdbf1ca73438b6a68c31b8f (patch)
treeb8505fae1f7716deba35e7b024d9a376b98afd85 /hw/pc.h
parent6f484e7301a13cc4408c6f151141ccea2c06c9f9 (diff)
downloadhqemu-0bacd1300dbcd7f56bdbf1ca73438b6a68c31b8f.zip
hqemu-0bacd1300dbcd7f56bdbf1ca73438b6a68c31b8f.tar.gz
Handle suspend in qemu (Gleb Natapov)
Reset a PC and tell BIOS that resume from ram is required on the next boot. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6080 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.h')
-rw-r--r--hw/pc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pc.h b/hw/pc.h
index 39b220f..b0b8970 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -82,6 +82,7 @@ RTCState *rtc_init(int base, qemu_irq irq);
RTCState *rtc_mm_init(target_phys_addr_t base, int it_shift, qemu_irq irq);
void rtc_set_memory(RTCState *s, int addr, int val);
void rtc_set_date(RTCState *s, const struct tm *tm);
+void cmos_set_s3_resume(void);
/* pc.c */
extern int fd_bootchk;
OpenPOWER on IntegriCloud