]> git.proxmox.com Git - qemu.git/blame - hw/m48t59.h
new bochs BIOS - 16 bit APM support (initial patch by Struan Bartlett)
[qemu.git] / hw / m48t59.h
CommitLineData
a541f297
FB
1#if !defined (__M48T59_H__)
2#define __M48T59_H__
3
c5df018e
FB
4typedef struct m48t59_t m48t59_t;
5
6void m48t59_write (m48t59_t *NVRAM, uint32_t val);
7uint32_t m48t59_read (m48t59_t *NVRAM);
8void m48t59_set_addr (m48t59_t *NVRAM, uint32_t addr);
b69fedff 9void m48t59_toggle_lock (m48t59_t *NVRAM, int lock);
e1bb04f7
FB
10m48t59_t *m48t59_init (int IRQ, uint32_t io_base,
11 uint32_t mem_base, uint16_t size);
a541f297
FB
12
13#endif /* !defined (__M48T59_H__) */