source: trunk/packages/xen-common/xen-common/tools/ioemu/hw/m48t59.h @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 442 bytes
Line 
1#if !defined (__M48T59_H__)
2#define __M48T59_H__
3
4typedef struct m48t59_t m48t59_t;
5
6void m48t59_write (m48t59_t *NVRAM, uint32_t addr, uint32_t val);
7uint32_t m48t59_read (m48t59_t *NVRAM, uint32_t addr);
8void m48t59_toggle_lock (m48t59_t *NVRAM, int lock);
9m48t59_t *m48t59_init (int IRQ, target_ulong mem_base,
10                       uint32_t io_base, uint16_t size,
11                       int type);
12
13#endif /* !defined (__M48T59_H__) */
Note: See TracBrowser for help on using the repository browser.