aboutsummaryrefslogtreecommitdiff
path: root/hw/m48t59.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-12 20:54:52 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-12 20:54:52 +0000
commitc5df018e56855cd6ede7ab7b07fb69703d581383 (patch)
tree6d005a52d70ea5acc404652e515685cbf2be20c5 /hw/m48t59.h
parenta541f297a37e64673aac52abc858e0904e316b48 (diff)
ppc: suppressed unneeded globals and headers - added explicit type for ppc nvram
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@723 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/m48t59.h')
-rw-r--r--hw/m48t59.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/hw/m48t59.h b/hw/m48t59.h
index f73846d985..4b801bca3a 100644
--- a/hw/m48t59.h
+++ b/hw/m48t59.h
@@ -1,9 +1,11 @@
#if !defined (__M48T59_H__)
#define __M48T59_H__
-void m48t59_write (void *opaque, uint32_t val);
-uint32_t m48t59_read (void *opaque);
-void m48t59_set_addr (void *opaque, uint32_t addr);
-void *m48t59_init (int IRQ, uint32_t io_base, uint16_t size);
+typedef struct m48t59_t m48t59_t;
+
+void m48t59_write (m48t59_t *NVRAM, uint32_t val);
+uint32_t m48t59_read (m48t59_t *NVRAM);
+void m48t59_set_addr (m48t59_t *NVRAM, uint32_t addr);
+m48t59_t *m48t59_init (int IRQ, uint32_t io_base, uint16_t size);
#endif /* !defined (__M48T59_H__) */