mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/c*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2d256e6f65
commit
300b1fc68c
19 changed files with 36 additions and 29 deletions
|
@ -71,7 +71,7 @@ static int a9mp_priv_init(SysBusDevice *dev)
|
|||
*
|
||||
* We should implement the global timer but don't currently do so.
|
||||
*/
|
||||
memory_region_init(&s->container, NULL, "a9mp-priv-container", 0x2000);
|
||||
memory_region_init(&s->container, OBJECT(s), "a9mp-priv-container", 0x2000);
|
||||
memory_region_add_subregion(&s->container, 0,
|
||||
sysbus_mmio_get_region(scubusdev, 0));
|
||||
/* GIC CPU interface */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue