[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 14/24] exec: Rename 'exec/user/guest-base.h' as 'user/guest-base.
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 14/24] exec: Rename 'exec/user/guest-base.h' as 'user/guest-base.h' |
Date: |
Thu, 18 Apr 2024 21:25:13 +0200 |
The include/user/ directory contains the user-emulation
specific headers. Move guest-base.h there too.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/exec/cpu-all.h | 2 +-
include/{exec => }/user/guest-base.h | 4 ++--
tcg/tcg.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
rename include/{exec => }/user/guest-base.h (72%)
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index 78848f018c..027f19e052 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -65,7 +65,7 @@
#if defined(CONFIG_USER_ONLY)
#include "exec/user/abitypes.h"
-#include "exec/user/guest-base.h"
+#include "user/guest-base.h"
extern bool have_guest_base;
diff --git a/include/exec/user/guest-base.h b/include/user/guest-base.h
similarity index 72%
rename from include/exec/user/guest-base.h
rename to include/user/guest-base.h
index afe2ab7fbb..1e42bca5db 100644
--- a/include/exec/user/guest-base.h
+++ b/include/user/guest-base.h
@@ -4,8 +4,8 @@
* Copyright (c) 2003 Fabrice Bellard
*/
-#ifndef EXEC_USER_GUEST_BASE_H
-#define EXEC_USER_GUEST_BASE_H
+#ifndef USER_GUEST_BASE_H
+#define USER_GUEST_BASE_H
extern uintptr_t guest_base;
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 0c0bb9d169..6a32656cd4 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -57,7 +57,7 @@
#include "tcg-internal.h"
#include "tcg/perf.h"
#ifdef CONFIG_USER_ONLY
-#include "exec/user/guest-base.h"
+#include "user/guest-base.h"
#endif
/* Forward declarations for functions declared in tcg-target.c.inc and
--
2.41.0
- [PATCH 16/24] exec: Move GUEST_ADDR_MAX definition to 'cpu_ldst.h', (continued)
- [PATCH 21/24] plugins: Un-inline qemu_plugin_disable_mem_helpers(), Philippe Mathieu-Daudé, 2024/04/18
- [PATCH 22/24] exec: Remove 'exec/tswap.h' from 'exec/cpu-all.h', Philippe Mathieu-Daudé, 2024/04/18
- [PATCH 14/24] exec: Rename 'exec/user/guest-base.h' as 'user/guest-base.h',
Philippe Mathieu-Daudé <=
- [PATCH 18/24] plugins: Include missing 'qemu/bitmap.h' header, Philippe Mathieu-Daudé, 2024/04/18
- [PATCH 24/24] exec: Remove unnecessary inclusions of 'hw/core/cpu.h', Philippe Mathieu-Daudé, 2024/04/18
- [PATCH 20/24] hw/xtensa: Include missing 'exec/cpu-common.h' in 'bootparam.h', Philippe Mathieu-Daudé, 2024/04/18
- [PATCH 23/24] exec: Remove 'disas/disas.h' from 'exec/log.h', Philippe Mathieu-Daudé, 2024/04/18