[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] object owner argument of memory_region_init_ram

From: ksourav
Subject: [Qemu-devel] object owner argument of memory_region_init_ram
Date: Wed, 23 Jan 2019 08:37:13 +0530

Hi All,

I am trying to learn how qemu implements different soc.
While reading the source code, I found that in some socs, object owner
is passed as NULL to the routine memory_region_init_ram() (for example
in nrf51 soc) and in some socs(for example in Allwinner A10) an
object(non NULL) is passed to memory_region_initi_ram().
When I checked docs/devel/memory.txt, I found below lines.
"For regions that "have no owner" (NULL is passed at creation time), the
machine object is actually used as the owner."
Is the machine object refers to the actual board instance that will
use the soc? For example microbit in case of nrf51 soc ?
Is there any reason of not passing object as owner or in other words,
when do we pass NULL or an object to memory_region_initi_ram() ?

Thanks & Regards
kumar sourav

reply via email to

[Prev in Thread] Current Thread [Next in Thread]