aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-17 11:42:19 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-17 11:42:19 +0000
commitf650305967f3e9a2fe96f59de3062fd9e8b189d0 (patch)
tree4788c0aea4647bae6201094af7b2b6c752ccad74 /qemu-common.h
parenta0d69e0097cb87e3b384ab2caa2341d097b25313 (diff)
downloadqemu-f650305967f3e9a2fe96f59de3062fd9e8b189d0.zip
qemu-f650305967f3e9a2fe96f59de3062fd9e8b189d0.tar.gz
qemu-f650305967f3e9a2fe96f59de3062fd9e8b189d0.tar.bz2
Unify RTCs that use host time, fix M48t59 alarm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3984 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h
index e8ea687..746dcc5 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -76,6 +76,9 @@ int qemu_bh_poll(void);
uint64_t muldiv64(uint64_t a, uint32_t b, uint32_t c);
+void qemu_get_timedate(struct tm *tm, int offset);
+int qemu_timedate_diff(struct tm *tm);
+
/* cutils.c */
void pstrcpy(char *buf, int buf_size, const char *str);
char *pstrcat(char *buf, int buf_size, const char *s);