Revision 0be71e32 hw/dma.c

b/hw/dma.c
548 548
              high_page_enable ? 0x480 : -1, cpu_request_exit);
549 549
    dma_init2(&dma_controllers[1], 0xc0, 1, 0x88,
550 550
              high_page_enable ? 0x488 : -1, cpu_request_exit);
551
    vmstate_register (0, &vmstate_dma, &dma_controllers[0]);
552
    vmstate_register (1, &vmstate_dma, &dma_controllers[1]);
551
    vmstate_register (NULL, 0, &vmstate_dma, &dma_controllers[0]);
552
    vmstate_register (NULL, 1, &vmstate_dma, &dma_controllers[1]);
553 553

  
554 554
    dma_bh = qemu_bh_new(DMA_run_bh, NULL);
555 555
}

Also available in: Unified diff