view tools/ioemu/hw/m48t59.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 f7b43e5c42b9
line source
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__) */