[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/24] system/watchpoint: Include missing 'exec/cpu-all.h' header
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 07/24] system/watchpoint: Include missing 'exec/cpu-all.h' header |
Date: |
Thu, 14 Nov 2024 02:12:52 +0100 |
TARGET_PAGE_MASK is defined in "exec/cpu-all.h".
Include it in order to avoid when refactoring:
system/watchpoint.c:52:24: error: use of undeclared identifier
'TARGET_PAGE_MASK'
52 | in_page = -(addr | TARGET_PAGE_MASK);
| ^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
system/watchpoint.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/system/watchpoint.c b/system/watchpoint.c
index 2aa2a9ea63..f7366574a3 100644
--- a/system/watchpoint.c
+++ b/system/watchpoint.c
@@ -20,6 +20,7 @@
#include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "exec/exec-all.h"
+#include "exec/cpu-all.h"
#include "hw/core/cpu.h"
/* Add a watchpoint. */
--
2.45.2
- Re: [PATCH 03/24] exec/translation-block: Include missing 'exec/vaddr.h' header, (continued)
- [PATCH 04/24] accel/tcg: Include missing 'exec/translation-block.h' header, Philippe Mathieu-Daudé, 2024/11/13
- [PATCH 05/24] target/i386/helper: Include missing 'exec/translation-block.h' header, Philippe Mathieu-Daudé, 2024/11/13
- [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é <=
- [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é, 2024/11/13
- [PATCH 10/24] target/arm/cpu: Restrict cpu_untagged_addr() to user emulation, Philippe Mathieu-Daudé, 2024/11/13