target-arm: Implement dummy MDCCINT_EL1

MDCCINT_EL1 is part of the DCC debugger communication
channel between the CPU and an attached external debugger.
QEMU doesn't implement this, but since Linux may try
to access this register we need to provide at least
a dummy implementation.

Backports commit 5dbdc4342f479d799a1970dd5fd22e64c9dcd50d from qemu
This commit is contained in:
Peter Maydell 2018-02-26 08:11:49 -05:00 committed by Lioncash
parent f2dcb81b27
commit 158bfc109a
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -3532,6 +3532,13 @@ static const ARMCPRegInfo debug_cp_reginfo[] = {
{ "DBGVCR", 14,0,7, 0,0,0, 0,
ARM_CP_NOP, PL1_RW, 0, NULL, 0, 0, {0, 0},
access_tda },
/* Dummy MDCCINT_EL1, since we don't implement the Debug Communications
* Channel but Linux may try to access this register. The 32-bit
* alias is DBGDCCINT.
*/
{ "MDCCINT_EL1", 14,0,2, 2,0,0, ARM_CP_STATE_BOTH, ARM_CP_NOP,
PL1_RW, 0, NULL, 0, 0, {0, 0},
access_tda },
REGINFO_SENTINEL
};