BSD cdrom device access fix
[qemu/qemu_0_9_1_stable.git] / hw / m48t59.h
blob03d8ea3b9bedbc0c3d361b8f51d860fde3bd6ed0
1 #if !defined (__M48T59_H__)
2 #define __M48T59_H__
4 typedef struct m48t59_t m48t59_t;
6 void m48t59_write (m48t59_t *NVRAM, uint32_t val);
7 uint32_t m48t59_read (m48t59_t *NVRAM);
8 void m48t59_set_addr (m48t59_t *NVRAM, uint32_t addr);
9 void m48t59_toggle_lock (m48t59_t *NVRAM, int lock);
10 m48t59_t *m48t59_init (int IRQ, uint32_t io_base,
11 uint32_t mem_base, uint16_t size);
13 #endif /* !defined (__M48T59_H__) */