user: Move 'thunk.h' from 'exec/user' to 'user'

Keep all user emulation headers under the same user/ directory.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240428221450.26460-2-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2024-03-22 11:08:12 +01:00
parent 22879b6680
commit 4e11165316
5 changed files with 9 additions and 6 deletions

View File

@ -3692,7 +3692,6 @@ Overall usermode emulation
M: Riku Voipio <riku.voipio@iki.fi> M: Riku Voipio <riku.voipio@iki.fi>
S: Maintained S: Maintained
F: accel/tcg/user-exec*.c F: accel/tcg/user-exec*.c
F: include/exec/user/
F: include/user/ F: include/user/
F: common-user/ F: common-user/

View File

@ -26,7 +26,7 @@
extern char **environ; extern char **environ;
#include "exec/user/thunk.h" #include "user/thunk.h"
#include "target_arch.h" #include "target_arch.h"
#include "syscall_defs.h" #include "syscall_defs.h"
#include "target_syscall.h" #include "target_syscall.h"

View File

@ -17,8 +17,12 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>. * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef THUNK_H #ifndef USER_THUNK_H
#define THUNK_H #define USER_THUNK_H
#ifndef CONFIG_USER_ONLY
#error Cannot include this header from system emulation
#endif
#include "cpu.h" #include "cpu.h"
#include "user/abitypes.h" #include "user/abitypes.h"

View File

@ -20,7 +20,7 @@
#include "qemu/log.h" #include "qemu/log.h"
#include "qemu.h" #include "qemu.h"
#include "exec/user/thunk.h" #include "user/thunk.h"
//#define DEBUG //#define DEBUG

View File

@ -18,7 +18,7 @@
#ifndef LINUX_USER_USER_INTERNALS_H #ifndef LINUX_USER_USER_INTERNALS_H
#define LINUX_USER_USER_INTERNALS_H #define LINUX_USER_USER_INTERNALS_H
#include "exec/user/thunk.h" #include "user/thunk.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "exec/tb-flush.h" #include "exec/tb-flush.h"
#include "qemu/log.h" #include "qemu/log.h"