diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-03-26 18:27:31 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-26 17:03:05 +0200 |
commit | 9c1283dd76a4c21e1dd9d6a268f5d7383bbde77f (patch) | |
tree | 874cfd680167a4ff86a572a5d04cb38df1984b09 /include/exec/cpu_ldst.h | |
parent | 471558cb6e1dcda005a61f66516684262864fc9f (diff) | |
download | qemu-9c1283dd76a4c21e1dd9d6a268f5d7383bbde77f.zip qemu-9c1283dd76a4c21e1dd9d6a268f5d7383bbde77f.tar.gz qemu-9c1283dd76a4c21e1dd9d6a268f5d7383bbde77f.tar.bz2 |
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>
Diffstat (limited to 'include/exec/cpu_ldst.h')
-rw-r--r-- | include/exec/cpu_ldst.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h index 64e0319..5b99666 100644 --- a/include/exec/cpu_ldst.h +++ b/include/exec/cpu_ldst.h @@ -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" |