On 3/1/24 08:32, Peter Maydell wrote:
cpu.h has a lot of #defines relating to CPU register fields.
Most of these aren't actually used outside target/arm code,
so there's no point in cluttering up the cpu.h file with them.
Move some easy ones to internals.h.

Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
I want to add some more CNTHCTL_* values, and don't really
want to put more into cpu.h. There's obviously more that could
be moved here, but I don't want to get into doing too much
all at once. I pondered having a different file for these,
but probably we'd end up pulling it in everywhere we do
internals.h.
---
  target/arm/cpu.h       | 128 -----------------------------------------
  target/arm/internals.h | 128 +++++++++++++++++++++++++++++++++++++++++
  2 files changed, 128 insertions(+), 128 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to