Revision 487414f1 hw/pflash_cfi02.c
b/hw/pflash_cfi02.c | ||
---|---|---|
557 | 557 |
return NULL; |
558 | 558 |
#endif |
559 | 559 |
pfl = qemu_mallocz(sizeof(pflash_t)); |
560 |
if (pfl == NULL) |
|
561 |
return NULL; |
|
562 | 560 |
pfl->storage = phys_ram_base + off; |
563 | 561 |
pfl->fl_mem = cpu_register_io_memory(0, pflash_read_ops, pflash_write_ops, |
564 | 562 |
pfl); |
Also available in: Unified diff