Re: [PATCH v2 10/21] target/arm: Stop assuming DBGDIDR always exists

2020-02-14 Thread Richard Henderson
On 2/14/20 9:51 AM, Peter Maydell wrote: > The AArch32 DBGDIDR defines properties like the number of > breakpoints, watchpoints and context-matching comparators. On an > AArch64 CPU, the register may not even exist if AArch32 is not > supported at EL1. > > Currently we hard-code use of DBGDIDR

[PATCH v2 10/21] target/arm: Stop assuming DBGDIDR always exists

2020-02-14 Thread Peter Maydell
The AArch32 DBGDIDR defines properties like the number of breakpoints, watchpoints and context-matching comparators. On an AArch64 CPU, the register may not even exist if AArch32 is not supported at EL1. Currently we hard-code use of DBGDIDR to identify the number of breakpoints etc; this works