qemu-riscv
[Top][All Lists]
Advanced

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

Re: [PATCH 01/24] exec: Declare MMUAccessType type in 'mmu-access-type.h


From: Richard Henderson
Subject: Re: [PATCH 01/24] exec: Declare MMUAccessType type in 'mmu-access-type.h' header
Date: Sat, 20 Apr 2024 22:13:18 -0700
User-agent: Mozilla Thunderbird

On 4/18/24 12:25, Philippe Mathieu-Daudé wrote:
The MMUAccessType enum is declared in "hw/core/cpu.h".
"hw/core/cpu.h" contains declarations related to CPUState
and CPUClass. Some source files only require MMUAccessType
and don't need to pull in all CPU* declarations. In order
to simplify, create a new "exec/mmu-access-type.h" header.

Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  include/exec/cpu_ldst.h        |  1 +
  include/exec/exec-all.h        |  1 +
  include/exec/mmu-access-type.h | 18 ++++++++++++++++++
  include/hw/core/cpu.h          |  8 +-------
  4 files changed, 21 insertions(+), 7 deletions(-)
  create mode 100644 include/exec/mmu-access-type.h

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

r~



reply via email to

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