897b4c6c4e
to use another NVRAM with the same API. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3474 c046a42c-6fe2-441c-8c8c-71466251a162
14 lines
447 B
C
14 lines
447 B
C
#if !defined (__M48T59_H__)
|
|
#define __M48T59_H__
|
|
|
|
typedef struct m48t59_t m48t59_t;
|
|
|
|
void m48t59_write (void *private, uint32_t addr, uint32_t val);
|
|
uint32_t m48t59_read (void *private, uint32_t addr);
|
|
void m48t59_toggle_lock (void *private, int lock);
|
|
m48t59_t *m48t59_init (qemu_irq IRQ, target_phys_addr_t mem_base,
|
|
uint32_t io_base, uint16_t size,
|
|
int type);
|
|
|
|
#endif /* !defined (__M48T59_H__) */
|