Re: Memory Initialization

2021-11-19 Thread abhijeet inamdar
And it's QEMU-4.2.0 and even parallely trying on QEMU-6.0.0. BR. Abhijeet. On Fri, 19 Nov, 2021, 13:02 abhijeet inamdar, wrote: > Hi, > > 1) I have a total of four memories: RAM, Flash, DDR and Shared. I > initialised the flash and ram like the follows: > > MemoryRegion *flash =

Memory Initialization

2021-11-19 Thread abhijeet inamdar
Hi, 1) I have a total of four memories: RAM, Flash, DDR and Shared. I initialised the flash and ram like the follows: MemoryRegion *flash = g_new(MemoryRegion, 1); int flash_size = board->flash_size_kb * 1024; memory_region_init_ram(flash, NULL, "machine.flash", flash_size, _fatal);