exec/user: Move 'abitypes.h' from 'exec/user' to 'user'
PATCH 1/1 exec/user: Move 'abitypes.h' from 'exec/user' to 'user'
Keep all user emulation headers under the same user/ directory.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
---
Forgot to include this patch in "exec: Rework around CPUState user fields"
https://lore.kernel.org/qemu-devel/[email protected]/
---
bsd-user/qemu.h | 2 +-
include/exec/cpu-all.h | 2 +-
include/exec/user/thunk.h | 2 +-
include/{exec => }/user/abitypes.h | 4 ++--
include/user/syscall-trace.h | 2 +-
linux-user/qemu.h | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
rename include/{exec => }/user/abitypes.h (97%)bsd-user/qemu.h +1 -1
@@ -22,7 +22,7 @@#include "exec/cpu_ldst.h" #include "exec/exec-all.h" -#include "exec/user/abitypes.h" +#include "user/abitypes.h" extern char **environ;
include/exec/cpu-all.h +1 -1
@@ -64,7 +64,7 @@/* MMU memory access macros */ #if defined(CONFIG_USER_ONLY ) -#include "exec/user/abitypes.h" +#include "user/abitypes.h" /* * If non-zero, the guest virtual address space is a contiguous subset
include/exec/user/thunk.h +1 -1
@@ -21,7 +21,7 @@#define THUNK_H #include "cpu.h" -#include "exec/user/abitypes.h" +#include "user/abitypes.h" /* types enums definitions */
include/user/abitypes.h renamed from include/exec/user/abitypes.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef EXEC_USER_ABITYPES_H -#define EXEC_USER_ABITYPES_H +#ifndef USER_ABITYPES_H +#define USER_ABITYPES_H #ifndef CONFIG_USER_ONLY #error Cannot include this header from system emulation
include/user/syscall-trace.h +1 -1
@@ -10,7 +10,7 @@#ifndef SYSCALL_TRACE_H #define SYSCALL_TRACE_H -#include "exec/user/abitypes.h" +#include "user/abitypes.h" #include "gdbstub/user.h" #include "qemu/plugin.h" #include "trace/trace-root.h"
linux-user/qemu.h +1 -1
@@ -4,7 +4,7 @@#include "cpu.h" #include "exec/cpu_ldst.h" -#include "exec/user/abitypes.h" +#include "user/abitypes.h" #include "syscall_defs.h" #include "target_syscall.h"
Signature · 1 line
2.41.0
Quoted 14 lines · Philippe Mathieu-Daudé
Keep all user emulation headers under the same user/ directory.
Signed-off-by Philippe Mathieu-Daudé<[email protected]>---
Forgot to include this patch in "exec: Rework around CPUState user fields"
https://lore.kernel.org/qemu-devel/[email protected]/--- bsd-user/qemu.h | 2 +- include/exec/cpu-all.h | 2 +- include/exec/user/thunk.h | 2 +- include/{exec => }/user/abitypes.h | 4 ++-- include/user/syscall-trace.h | 2 +- linux-user/qemu.h | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
Quoted 1 line
rename
include/{exec=>}/user/abitypes.h(97%)
Reviewed-by Richard Henderson <[email protected]>
r~