aboutsummaryrefslogtreecommitdiff
path: root/hw/m48t59.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/m48t59.h')
-rw-r--r--hw/m48t59.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/m48t59.h b/hw/m48t59.h
new file mode 100644
index 0000000..f73846d
--- /dev/null
+++ b/hw/m48t59.h
@@ -0,0 +1,9 @@
+#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);
+
+#endif /* !defined (__M48T59_H__) */