target-arm: Add MDCR_EL2
commit14cc7b54372995a6ba72c7719372e4f710fc9b5a
authorSergey Fedorov <serge.fdrv@gmail.com>
Fri, 16 Oct 2015 10:14:54 +0000 (16 11:14 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Oct 2015 12:13:48 +0000 (16 13:13 +0100)
tree2efd19b8eb1b3379450ec53ac711d62d2b6baeb4
parentc209b0537203c58a051e5d837320335cea23e494
target-arm: Add MDCR_EL2

Add the MDCR_EL2 register. We don't implement any of
the debug-related traps this register controls yet, so
currently it simply reads back as written.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Message-id: 1444383794-16767-1-git-send-email-serge.fdrv@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: tweaked commit message; moved non-dummy definition from
debug_cp_reginfo to el2_cp_reginfo.]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h
target-arm/helper.c