]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
exec: Rename 'exec/user/guest-base.h' as 'user/guest-base.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 26 Mar 2024 11:27:29 +0000 (12:27 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 15:03:05 +0000 (17:03 +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>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20240418192525.97451-15-philmd@linaro.org>

include/exec/cpu-all.h
include/exec/user/guest-base.h [deleted file]
include/user/guest-base.h [new file with mode: 0644]
tcg/tcg.c

index 78848f018c76a74e310cec16961650911c76de88..027f19e0529481ecb5c70f46a47b4650751f90f7 100644 (file)
@@ -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/exec/user/guest-base.h
deleted file mode 100644 (file)
index afe2ab7..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: LGPL-2.1-or-later */
-/*
- * Declaration of guest_base.
- *  Copyright (c) 2003 Fabrice Bellard
- */
-
-#ifndef EXEC_USER_GUEST_BASE_H
-#define EXEC_USER_GUEST_BASE_H
-
-extern uintptr_t guest_base;
-
-#endif
diff --git a/include/user/guest-base.h b/include/user/guest-base.h
new file mode 100644 (file)
index 0000000..1e42bca
--- /dev/null
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Declaration of guest_base.
+ *  Copyright (c) 2003 Fabrice Bellard
+ */
+
+#ifndef USER_GUEST_BASE_H
+#define USER_GUEST_BASE_H
+
+extern uintptr_t guest_base;
+
+#endif
index 0c0bb9d169472f001bde70e578a127061118a7ad..6a32656cd4a956f7ba6f6e6fadb9bd9e39a56289 100644 (file)
--- 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