diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-28 18:27:10 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-28 18:27:10 +0000 |
commit | 6e6b73631301d41e8b18de4d35937bc78b0117f3 (patch) | |
tree | 486b45bbe8c6cceb18161b7bbec986324fc33492 /hw/mac_dbdma.c | |
parent | b4e237aae774a6dd3de2c3db9f87012d48ab6716 (diff) | |
download | qemu-6e6b73631301d41e8b18de4d35937bc78b0117f3.zip qemu-6e6b73631301d41e8b18de4d35937bc78b0117f3.tar.gz qemu-6e6b73631301d41e8b18de4d35937bc78b0117f3.tar.bz2 |
Register reset handlers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6136 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mac_dbdma.c')
-rw-r--r-- | hw/mac_dbdma.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/mac_dbdma.c b/hw/mac_dbdma.c index c23fbd5..71f14e5 100644 --- a/hw/mac_dbdma.c +++ b/hw/mac_dbdma.c @@ -88,7 +88,13 @@ static CPUReadMemoryFunc *dbdma_read[] = { &dbdma_readl, }; +static void dbdma_reset(void *opaque) +{ +} + void dbdma_init (int *dbdma_mem_index) { *dbdma_mem_index = cpu_register_io_memory(0, dbdma_read, dbdma_write, NULL); + qemu_register_reset(dbdma_reset, NULL); + dbdma_reset(NULL); } |