diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-03-02 10:45:39 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-03-02 11:03:45 +0000 |
commit | 9eb8040c2d2b38e1a40bb6129b1b668fa178fcab (patch) | |
tree | d9d9405f48f95c7fbaa0a65dac8695c2eac67fdf /hw/misc/trace-events | |
parent | 9a52d9992f179416f02cef457c947a28999d879d (diff) | |
download | qemu-9eb8040c2d2b38e1a40bb6129b1b668fa178fcab.zip qemu-9eb8040c2d2b38e1a40bb6129b1b668fa178fcab.tar.gz qemu-9eb8040c2d2b38e1a40bb6129b1b668fa178fcab.tar.bz2 |
hw/misc/tz-ppc: Model TrustZone peripheral protection controller
Add a model of the TrustZone peripheral protection controller (PPC),
which is used to gate transactions to non-TZ-aware peripherals so
that secure software can configure them to not be accessible to
non-secure software.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180220180325.29818-15-peter.maydell@linaro.org
Diffstat (limited to 'hw/misc/trace-events')
-rw-r--r-- | hw/misc/trace-events | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/misc/trace-events b/hw/misc/trace-events index ef852ff..0b638de 100644 --- a/hw/misc/trace-events +++ b/hw/misc/trace-events @@ -83,3 +83,14 @@ mos6522_get_next_irq_time(uint16_t latch, int64_t d, int64_t delta) "latch=%d co mos6522_set_sr_int(void) "set sr_int" mos6522_write(uint64_t addr, uint64_t val) "reg=0x%"PRIx64 " val=0x%"PRIx64 mos6522_read(uint64_t addr, unsigned val) "reg=0x%"PRIx64 " val=0x%x" + +# hw/misc/tz-ppc.c +tz_ppc_reset(void) "TZ PPC: reset" +tz_ppc_cfg_nonsec(int n, int level) "TZ PPC: cfg_nonsec[%d] = %d" +tz_ppc_cfg_ap(int n, int level) "TZ PPC: cfg_ap[%d] = %d" +tz_ppc_cfg_sec_resp(int level) "TZ PPC: cfg_sec_resp = %d" +tz_ppc_irq_enable(int level) "TZ PPC: int_enable = %d" +tz_ppc_irq_clear(int level) "TZ PPC: int_clear = %d" +tz_ppc_update_irq(int level) "TZ PPC: setting irq line to %d" +tz_ppc_read_blocked(int n, hwaddr offset, bool secure, bool user) "TZ PPC: port %d offset 0x%" HWADDR_PRIx " read (secure %d user %d) blocked" +tz_ppc_write_blocked(int n, hwaddr offset, bool secure, bool user) "TZ PPC: port %d offset 0x%" HWADDR_PRIx " write (secure %d user %d) blocked" |