summaryrefslogtreecommitdiff
path: root/hw/m48t59.h
blob: f2eb4b1e34d29e64932f00b25bb83aab9eb5368d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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__) */