[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/24] target/arm/mte: Restrict 'exec/ram_addr.h' to system emula
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 09/24] target/arm/mte: Restrict 'exec/ram_addr.h' to system emulation |
Date: |
Thu, 14 Nov 2024 02:12:54 +0100 |
"exec/ram_addr.h" contains system specific declarations.
Restrict its inclusion to sysemu to avoid build errors
when refactoring.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/arm/tcg/mte_helper.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/arm/tcg/mte_helper.c b/target/arm/tcg/mte_helper.c
index 9d2ba287ee..b017b26d07 100644
--- a/target/arm/tcg/mte_helper.c
+++ b/target/arm/tcg/mte_helper.c
@@ -23,7 +23,9 @@
#include "internals.h"
#include "exec/exec-all.h"
#include "exec/page-protection.h"
+#ifndef CONFIG_USER_ONLY
#include "exec/ram_addr.h"
+#endif
#include "exec/cpu_ldst.h"
#include "exec/helper-proto.h"
#include "hw/core/tcg-cpu-ops.h"
--
2.45.2
- Re: [PATCH 05/24] target/i386/helper: Include missing 'exec/translation-block.h' header, (continued)
- [PATCH 06/24] target/rx/cpu: Include missing 'exec/translation-block.h' header, Philippe Mathieu-Daudé, 2024/11/13
- [PATCH 07/24] system/watchpoint: Include missing 'exec/cpu-all.h' header, Philippe Mathieu-Daudé, 2024/11/13
- [PATCH 08/24] linux-user/aarch64/mte: Include missing 'user/abitypes.h' header, Philippe Mathieu-Daudé, 2024/11/13
- [PATCH 09/24] target/arm/mte: Restrict 'exec/ram_addr.h' to system emulation,
Philippe Mathieu-Daudé <=
- [PATCH 10/24] target/arm/cpu: Restrict cpu_untagged_addr() to user emulation, Philippe Mathieu-Daudé, 2024/11/13
- [PATCH 11/24] exec: Introduce 'user/guest-host.h' header, Philippe Mathieu-Daudé, 2024/11/13
- [PATCH 12/24] accel/tcg: Have tlb_vaddr_to_host() use vaddr type, Philippe Mathieu-Daudé, 2024/11/13