Home
last modified time | relevance | path

Searched refs:mem_mappings (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/block/
H A Dpflash_cfi02.c101 MemoryRegion *mem_mappings; /* array; one per mapping */ member
170 pfl->mem_mappings = g_new(MemoryRegion, pfl->mappings); in pflash_setup_mappings()
172 memory_region_init_alias(&pfl->mem_mappings[i], OBJECT(pfl), in pflash_setup_mappings()
174 memory_region_add_subregion(&pfl->mem, i * size, &pfl->mem_mappings[i]); in pflash_setup_mappings()