On 1/3/24 19: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.

Yeah, have been there before :/

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>

---
  target/arm/cpu.h       | 128 -----------------------------------------
  target/arm/internals.h | 128 +++++++++++++++++++++++++++++++++++++++++
  2 files changed, 128 insertions(+), 128 deletions(-)


Reply via email to