[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/24] semihosting/uaccess: Avoid including 'cpu.h'
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 05/24] semihosting/uaccess: Avoid including 'cpu.h' |
Date: |
Mon, 11 Dec 2023 22:19:42 +0100 |
"semihosting/uaccess.h" only requires declarations
from "exec/cpu-defs.h". Avoid including the huge "cpu.h".
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/semihosting/uaccess.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/semihosting/uaccess.h b/include/semihosting/uaccess.h
index 3963eafc3e..6c8835fbcb 100644
--- a/include/semihosting/uaccess.h
+++ b/include/semihosting/uaccess.h
@@ -14,7 +14,7 @@
#error Cannot include semihosting/uaccess.h from user emulation
#endif
-#include "cpu.h"
+#include "exec/cpu-defs.h"
#define get_user_u64(val, addr) \
({ uint64_t val_ = 0; \
--
2.41.0
- [PATCH 00/24] exec: Rework of various headers (user focused), Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 01/24] exec: Include 'cpu.h' before validating CPUArchState placement, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 02/24] exec: Expose 'target_page.h' API to user emulation, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 03/24] target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h', Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 04/24] accel: Include missing 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 05/24] semihosting/uaccess: Avoid including 'cpu.h',
Philippe Mathieu-Daudé <=
- [PATCH 06/24] semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 07/24] host/load-extract: Include missing 'qemu/atomic.h' and 'qemu/int128.h', Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 08/24] host/atomic128: Include missing 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 09/24] hw/ppc/spapr_hcall: Remove unused 'exec/exec-all.h' included header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 10/24] hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 11/24] hw/s390x/ipl: Remove unused 'exec/exec-all.h' included header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 12/24] target/i386: Include missing 'exec/exec-all.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 13/24] accel/tcg: Include missing 'hw/core/cpu.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 14/24] gdbstub: Include missing 'hw/core/cpu.h' header, Philippe Mathieu-Daudé, 2023/12/11