]>
Commit | Line | Data |
---|---|---|
a541f297 FB |
1 | #if !defined (__M48T59_H__) |
2 | #define __M48T59_H__ | |
3 | ||
c5df018e FB |
4 | typedef struct m48t59_t m48t59_t; |
5 | ||
819385c5 FB |
6 | void m48t59_write (m48t59_t *NVRAM, uint32_t addr, uint32_t val); |
7 | uint32_t m48t59_read (m48t59_t *NVRAM, uint32_t addr); | |
b69fedff | 8 | void m48t59_toggle_lock (m48t59_t *NVRAM, int lock); |
5dcb6b91 | 9 | m48t59_t *m48t59_init (qemu_irq IRQ, target_phys_addr_t mem_base, |
819385c5 FB |
10 | uint32_t io_base, uint16_t size, |
11 | int type); | |
a541f297 FB |
12 | |
13 | #endif /* !defined (__M48T59_H__) */ |