On 08/20/2018 07:11 AM, Peter Maydell wrote: > The AN505 FPGA image includes four PL081 DMA controllers, each > of which is gated by a Master Security Controller that allows > the guest to prevent a non-secure DMA controller from accessing > memory that is used by secure guest code. Create and wire > up these devices. > > Signed-off-by: Peter Maydell <[email protected]> > Reviewed-by: Philippe Mathieu-Daudé <[email protected]> > --- > v2 changes: > - use 'sizeof(*msc)', 'sizeof(*dma)' as suggested > by Phillipe in code review > - s/init_sysbus_child/sysbus_init_child_obj/, required by > rebase on current master > --- > hw/arm/mps2-tz.c | 100 +++++++++++++++++++++++++++++++++++++++++++---- > 1 file changed, 93 insertions(+), 7 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
