qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/8] target/arm: Move some register related defines to intern


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 1/8] target/arm: Move some register related defines to internals.h
Date: Fri, 1 Mar 2024 20:03:48 +0100
User-agent: Mozilla Thunderbird

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.maydell@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é <philmd@linaro.org>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]