summaryrefslogtreecommitdiff
path: root/hw/nvram.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-14 15:33:28 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-14 15:33:28 +0000
commitf80237d45032fbc429aba3b597175fb544a11378 (patch)
treeb31ae09125263d899f13c3783a98301e57712dd6 /hw/nvram.h
parent042eb37a04c9bf0cc76d14038a8ed35e3de713e2 (diff)
Add an ISA bus version of m48t59
Many thanks to Gerd Hoffmann for finding and fixing a bug in the initial version. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/nvram.h')
-rw-r--r--hw/nvram.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/nvram.h b/hw/nvram.h
index b346822c2..c63fd5f09 100644
--- a/hw/nvram.h
+++ b/hw/nvram.h
@@ -34,6 +34,7 @@ typedef struct m48t59_t m48t59_t;
void m48t59_write (void *private, uint32_t addr, uint32_t val);
uint32_t m48t59_read (void *private, uint32_t addr);
void m48t59_toggle_lock (void *private, int lock);
+m48t59_t *m48t59_init_isa(uint32_t io_base, uint16_t size, int type);
m48t59_t *m48t59_init (qemu_irq IRQ, target_phys_addr_t mem_base,
uint32_t io_base, uint16_t size,
int type);