diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-10-30 16:58:32 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-10-30 16:58:32 +0000 |
commit | 819385c58b319d9f80d676cefaed0610118f03ac (patch) | |
tree | 964714294885a3ee908e0a2134cc561fa266357f /hw/m48t59.h | |
parent | 48b2c193533ed12c6b1e4754862a397d2d196085 (diff) |
suppressed m48t08 RTC - simplified m48t59 RTC api
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1573 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/m48t59.h')
-rw-r--r-- | hw/m48t59.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/m48t59.h b/hw/m48t59.h index 03d8ea3b9b..af22dc1123 100644 --- a/hw/m48t59.h +++ b/hw/m48t59.h @@ -3,11 +3,11 @@ typedef struct m48t59_t m48t59_t; -void m48t59_write (m48t59_t *NVRAM, uint32_t val); -uint32_t m48t59_read (m48t59_t *NVRAM); -void m48t59_set_addr (m48t59_t *NVRAM, uint32_t addr); +void m48t59_write (m48t59_t *NVRAM, uint32_t addr, uint32_t val); +uint32_t m48t59_read (m48t59_t *NVRAM, uint32_t addr); void m48t59_toggle_lock (m48t59_t *NVRAM, int lock); -m48t59_t *m48t59_init (int IRQ, uint32_t io_base, - uint32_t mem_base, uint16_t size); +m48t59_t *m48t59_init (int IRQ, target_ulong mem_base, + uint32_t io_base, uint16_t size, + int type); #endif /* !defined (__M48T59_H__) */ |