mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-11 08:15:40 +00:00
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:
parent
f2dcb81b27
commit
158bfc109a
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue