m48t59.h 453 字节
Newer Older
1 2 3
#if !defined (__M48T59_H__)
#define __M48T59_H__

4 5
typedef struct m48t59_t m48t59_t;

6 7
void m48t59_write (m48t59_t *NVRAM, uint32_t addr, uint32_t val);
uint32_t m48t59_read (m48t59_t *NVRAM, uint32_t addr);
B
bellard 已提交
8
void m48t59_toggle_lock (m48t59_t *NVRAM, int lock);
9
m48t59_t *m48t59_init (qemu_irq IRQ, target_phys_addr_t mem_base,
10 11
                       uint32_t io_base, uint16_t size,
                       int type);
12 13

#endif /* !defined (__M48T59_H__) */