mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
471558cb6e
commit
9c1283dd76
4 changed files with 21 additions and 7 deletions
|
@ -64,6 +64,7 @@
|
|||
|
||||
#include "exec/memopidx.h"
|
||||
#include "exec/abi_ptr.h"
|
||||
#include "exec/mmu-access-type.h"
|
||||
#include "qemu/int128.h"
|
||||
#include "cpu.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue