On 2/6/23 02:17, Philippe Mathieu-Daudé wrote:
While dozens of files include "cpu.h", only 3 files require
these NVIC helper declarations.
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
include/hw/intc/armv7m_nvic.h | 123 ++++++++++++++++++++++++++++++++++
target/arm/cpu.c | 4 +-
target/arm/cpu.h | 123 ----------------------------------
target/arm/cpu_tcg.c | 3 +
target/arm/m_helper.c | 3 +
5 files changed, 132 insertions(+), 124 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~