ppc/ppc405: QOM'ify MAL
commitda116a8aab47695a8364708f2e1d14ed6fcc659f
authorCédric Le Goater <clg@kaod.org>
Wed, 17 Aug 2022 15:08:29 +0000 (17 17:08 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 31 Aug 2022 17:08:06 +0000 (31 14:08 -0300)
tree9d8b3fc8e9f78a7689c2ec4b01a9d3be30d82daa
parent695bce07dc1c0f7de054fb471a494d572e649e07
ppc/ppc405: QOM'ify MAL

The Memory Access Layer (MAL) controller is currently modeled as a DCR
device with 4 IRQs. Also drop the ppc4xx_mal_init() helper and adapt
the sam460ex machine.

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
[balaton: ppc4xx_dcr_register changes, add finalize method]
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <d54a243dff94d95ba30dbcc09c27700a90ade932.1660746880.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/ppc405.h
hw/ppc/ppc405_uc.c
hw/ppc/ppc4xx_devs.c
hw/ppc/sam460ex.c
include/hw/ppc/ppc4xx.h