exec: Declare MMUAccessType type in 'mmu-access-type.h' header
commit9c1283dd76a4c21e1dd9d6a268f5d7383bbde77f
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 26 Mar 2024 17:27:31 +0000 (26 18:27 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 15:03:05 +0000 (26 17:03 +0200)
tree874cfd680167a4ff86a572a5d04cb38df1984b09
parent471558cb6e1dcda005a61f66516684262864fc9f
exec: Declare MMUAccessType type in 'mmu-access-type.h' header

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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240418192525.97451-2-philmd@linaro.org>
include/exec/cpu_ldst.h
include/exec/exec-all.h
include/exec/mmu-access-type.h [new file with mode: 0644]
include/hw/core/cpu.h