diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-09-30 22:13:50 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-09-30 22:13:50 +0000 |
commit | 420557e8981347368427849ff89ecd3fe537dafa (patch) | |
tree | 986c9023d271a0999c8e7f61918439ec08f17d77 /hw/m48t08.h | |
parent | 6d5e216de979afdc0a26410580ad31376f7107f7 (diff) |
full system SPARC emulation (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1085 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/m48t08.h')
-rw-r--r-- | hw/m48t08.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hw/m48t08.h b/hw/m48t08.h new file mode 100644 index 0000000000..2a754b698e --- /dev/null +++ b/hw/m48t08.h @@ -0,0 +1,12 @@ +#if !defined (__M48T08_H__) +#define __M48T08_H__ + +typedef struct m48t08_t m48t08_t; + +void m48t08_write (m48t08_t *NVRAM, uint32_t val); +uint32_t m48t08_read (m48t08_t *NVRAM); +void m48t08_set_addr (m48t08_t *NVRAM, uint32_t addr); +void m48t08_toggle_lock (m48t08_t *NVRAM, int lock); +m48t08_t *m48t08_init(uint32_t mem_base, uint16_t size); + +#endif /* !defined (__M48T08_H__) */ |