ia64/xen-unstable

view tools/ioemu/hw/m48t08.h @ 6946:e703abaf6e3d

Add behaviour to the remove methods to remove the transaction's path itself. This allows us to write Remove(path) to remove the specified path rather than having to slice the path ourselves.
author emellor@ewan
date Sun Sep 18 14:42:13 2005 +0100 (2005-09-18)
parents 8e5fc5fe636c
children
line source
1 #if !defined (__M48T08_H__)
2 #define __M48T08_H__
4 typedef struct m48t08_t m48t08_t;
6 void m48t08_write (m48t08_t *NVRAM, uint32_t val);
7 uint32_t m48t08_read (m48t08_t *NVRAM);
8 void m48t08_set_addr (m48t08_t *NVRAM, uint32_t addr);
9 void m48t08_toggle_lock (m48t08_t *NVRAM, int lock);
10 m48t08_t *m48t08_init(uint32_t mem_base, uint16_t size, uint8_t *macaddr);
12 #endif /* !defined (__M48T08_H__) */