Revision 1eed09cb hw/pflash_cfi02.c

b/hw/pflash_cfi02.c
559 559
    pfl = qemu_mallocz(sizeof(pflash_t));
560 560
    /* FIXME: Allocate ram ourselves.  */
561 561
    pfl->storage = qemu_get_ram_ptr(off);
562
    pfl->fl_mem = cpu_register_io_memory(0, pflash_read_ops, pflash_write_ops,
562
    pfl->fl_mem = cpu_register_io_memory(pflash_read_ops, pflash_write_ops,
563 563
                                         pfl);
564 564
    pfl->off = off;
565 565
    pfl->base = base;

Also available in: Unified diff