On 09/03/2017 17:38, Dr. David Alan Gilbert wrote: > It is used by all of the _ram specific functions, so it seemed worth > including the comment.
It's internal though. memory.c users never use it in a way that creates a RAMBlock. > (I also see it's used in some of the boards but I don't understand > why - e.g. hw/ppc/ppc405_boards.c calls it on something that looks > like RAM. Although perhaps that's related to the 'fix this' above it) It's a weird 0-length memory region, and it doesn't have a RAMBlock. Probably needed only to satisfy ppc405ep_init. ram_bases[0] = 0; ram_sizes[0] = 0x08000000; memory_region_init(&ram_memories[1], NULL, "ef405ep.ram1", 0); ram_bases[1] = 0x00000000; ram_sizes[1] = 0x00000000; Paolo