[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/14] plugins/api: Only include 'exec/ram_addr.h' with system em
|
From: |
Philippe Mathieu-Daudé |
|
Subject: |
[PATCH 03/14] plugins/api: Only include 'exec/ram_addr.h' with system emulation |
|
Date: |
Sat, 27 Apr 2024 17:57:03 +0200 |
"exec/ram_addr.h" shouldn't be used with user emulation.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
plugins/api.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/api.c b/plugins/api.c
index 8fa5a600ac..eaee344d8e 100644
--- a/plugins/api.c
+++ b/plugins/api.c
@@ -42,10 +42,10 @@
#include "tcg/tcg.h"
#include "exec/exec-all.h"
#include "exec/gdbstub.h"
-#include "exec/ram_addr.h"
#include "disas/disas.h"
#include "plugin.h"
#ifndef CONFIG_USER_ONLY
+#include "exec/ram_addr.h"
#include "qemu/plugin-memory.h"
#include "hw/boards.h"
#else
--
2.41.0
- [PATCH 00/14] exec: Rework around CPUState user fields, Philippe Mathieu-Daudé, 2024/04/27
- [PATCH 01/14] target/i386: Simplify get_memio_eip(), Philippe Mathieu-Daudé, 2024/04/27
- [PATCH 02/14] plugins: Update stale comment, Philippe Mathieu-Daudé, 2024/04/27
- [PATCH 04/14] exec: Include missing license in 'exec/cpu-common.h', Philippe Mathieu-Daudé, 2024/04/27
- [PATCH 03/14] plugins/api: Only include 'exec/ram_addr.h' with system emulation,
Philippe Mathieu-Daudé <=
- [PATCH 05/14] exec/cpu: Indent TARGET_PAGE_foo definitions, Philippe Mathieu-Daudé, 2024/04/27
- [PATCH 06/14] exec/cpu: Remove obsolete PAGE_RESERVED definition, Philippe Mathieu-Daudé, 2024/04/27
- [PATCH 07/14] exec/cpu: Remove duplicated PAGE_PASSTHROUGH definition, Philippe Mathieu-Daudé, 2024/04/27
- [PATCH 08/14] exec/cpu: Extract page-protection definitions to page-prot-common.h, Philippe Mathieu-Daudé, 2024/04/27
- [RFC PATCH 09/14] exec/cpu: Restrict user-specific page definitions, Philippe Mathieu-Daudé, 2024/04/27