On 08/20/2018 07:11 AM, Peter Maydell wrote: > Implement a model of the TrustZone Master Securtiy Controller, > as documented in the Arm CoreLink SIE-200 System IP for > Embedded TRM (DDI0571G): > https://developer.arm.com/products/architecture/m-profile/docs/ddi0571/g > > The MSC is intended to sit in front of a device which can > be a bus master (eg a DMA controller) and programmably gate > its transactions. This allows a bus-mastering device to be > controlled by non-secure code but still restricted from > making accesses to addresses which are secure-only. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > hw/misc/Makefile.objs | 1 + > include/hw/misc/tz-msc.h | 79 ++++++++ > hw/misc/tz-msc.c | 308 ++++++++++++++++++++++++++++++++ > MAINTAINERS | 2 + > default-configs/arm-softmmu.mak | 1 + > hw/misc/trace-events | 9 + > 6 files changed, 400 insertions(+) > create mode 100644 include/hw/misc/tz-msc.h > create mode 100644 hw/misc/tz-msc.c
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~