On Tue, Oct 22, 2019 at 1:23 AM Alistair Francis wrote:
>
> On Sun, Oct 20, 2019 at 4:10 PM Philippe Mathieu-Daudé
> wrote:
> >
> > All the memory_region_allocate_system_memory() calls are in the
> > board_init() code. From the 58 calls in the repository, only
> > 4 set the 'owner' parameter.
On Sun, Oct 20, 2019 at 4:10 PM Philippe Mathieu-Daudé
wrote:
>
> All the memory_region_allocate_system_memory() calls are in the
> board_init() code. From the 58 calls in the repository, only
> 4 set the 'owner' parameter. It is obvious we want the Machine
> to be the owner of the RAM, so we
All the memory_region_allocate_system_memory() calls are in the
board_init() code. From the 58 calls in the repository, only
4 set the 'owner' parameter. It is obvious we want the Machine
to be the owner of the RAM, so we want to use OBJECT(machine)
as owner. We can simplify a bit by passing