diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-05-14 16:29:16 +0900 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-15 16:20:41 +0000 |
commit | e1460e4707cd80982add597f5cb421289db84e4e (patch) | |
tree | 80513e6e19a35296957a3cf2dc643b698523582a /hw/mc146818rtc.h | |
parent | 845773ab03a8dde681ff1b929bbb41e67d0131a6 (diff) | |
download | qemu-e1460e4707cd80982add597f5cb421289db84e4e.zip qemu-e1460e4707cd80982add597f5cb421289db84e4e.tar.gz qemu-e1460e4707cd80982add597f5cb421289db84e4e.tar.bz2 |
pc: move rtc declarations from pc.h into a dedicated header file.
Move rtc_xxx declarations from pc.h into mc146818rtc.h.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/mc146818rtc.h')
-rw-r--r-- | hw/mc146818rtc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/mc146818rtc.h b/hw/mc146818rtc.h new file mode 100644 index 0000000..7211dae --- /dev/null +++ b/hw/mc146818rtc.h @@ -0,0 +1,10 @@ +#ifndef MC146818RTC_H +#define MC146818RTC_H + +typedef struct RTCState RTCState; + +RTCState *rtc_init(int base_year); +void rtc_set_memory(RTCState *s, int addr, int val); +void rtc_set_date(RTCState *s, const struct tm *tm); + +#endif /* !MC146818RTC_H */ |