diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-12-06 20:27:32 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-05-06 11:17:15 +0200 |
commit | 74781c0888e819552538593c0932d98ea16c766b (patch) | |
tree | e85aad55b916ffdeab346e2beae80e65e946259d /target/xtensa | |
parent | 7dd1259b374ee32bf2a967697053e5401369c29d (diff) | |
download | qemu-74781c0888e819552538593c0932d98ea16c766b.zip qemu-74781c0888e819552538593c0932d98ea16c766b.tar.gz qemu-74781c0888e819552538593c0932d98ea16c766b.tar.bz2 |
exec/cpu: Extract page-protection definitions to page-protection.h
Extract page-protection definitions from "exec/cpu-all.h"
to "exec/page-protection.h".
The list of files requiring the new header was generated
using:
$ git grep -wE \
'PAGE_(READ|WRITE|EXEC|RWX|VALID|ANON|RESERVED|TARGET_.|PASSTHROUGH)'
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240427155714.53669-3-philmd@linaro.org>
Diffstat (limited to 'target/xtensa')
-rw-r--r-- | target/xtensa/mmu_helper.c | 1 | ||||
-rw-r--r-- | target/xtensa/op_helper.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/target/xtensa/mmu_helper.c b/target/xtensa/mmu_helper.c index 47063b0..997b21d 100644 --- a/target/xtensa/mmu_helper.c +++ b/target/xtensa/mmu_helper.c @@ -33,6 +33,7 @@ #include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "exec/exec-all.h" +#include "exec/page-protection.h" #define XTENSA_MPU_SEGMENT_MASK 0x0000001f #define XTENSA_MPU_ACC_RIGHTS_MASK 0x00000f00 diff --git a/target/xtensa/op_helper.c b/target/xtensa/op_helper.c index 496754b..028d4e0 100644 --- a/target/xtensa/op_helper.c +++ b/target/xtensa/op_helper.c @@ -28,6 +28,7 @@ #include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" +#include "exec/page-protection.h" #include "qemu/host-utils.h" #include "exec/exec-all.h" #include "qemu/atomic.h" |