]> git.proxmox.com Git - mirror_qemu.git/blame - hw/m48t08.h
sparc merge (Blue Swirl)
[mirror_qemu.git] / hw / m48t08.h
CommitLineData
420557e8
FB
1#if !defined (__M48T08_H__)
2#define __M48T08_H__
3
4typedef struct m48t08_t m48t08_t;
5
6void m48t08_write (m48t08_t *NVRAM, uint32_t val);
7uint32_t m48t08_read (m48t08_t *NVRAM);
8void m48t08_set_addr (m48t08_t *NVRAM, uint32_t addr);
9void m48t08_toggle_lock (m48t08_t *NVRAM, int lock);
8d5f07fa 10m48t08_t *m48t08_init(uint32_t mem_base, uint16_t size, uint8_t *macaddr);
420557e8
FB
11
12#endif /* !defined (__M48T08_H__) */