qemu/linux-user/alpha
Peter Maydell 3b249d2661 linux-user: Split linux-user internals out of qemu.h
qemu.h is included in various non-linux-user files (which
mostly want the TaskState struct and the functions for
doing usermode access to guest addresses like lock_user(),
unlock_user(), get_user*(), etc).

Split out the parts that are only used in linux-user itself
into a new user-internals.h. This leaves qemu.h with basically
three things:
 * the definition of the TaskState struct
 * the user-access functions and macros
 * do_brk()
all of which are needed by code outside linux-user that
includes qemu.h.

The addition of all the extra #include lines was done with
  sed -i '/include.*qemu\.h/a #include "user-internals.h"' $(git grep -l 'include.*qemu\.h' linux-user)
(and then undoing the change to fpa11.h).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210908154405.15417-8-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2021-09-13 20:35:45 +02:00
..
cpu_loop.c linux-user: Split linux-user internals out of qemu.h 2021-09-13 20:35:45 +02:00
meson.build meson: linux-user 2020-08-21 06:30:38 -04:00
signal.c linux-user: Split linux-user internals out of qemu.h 2021-09-13 20:35:45 +02:00
sockbits.h linux-user: define TARGET_SO_REUSEPORT 2018-05-25 10:10:55 +02:00
syscall.tbl linux-user: update syscall.tbl to Linux v5.13 2021-07-13 13:59:59 +02:00
syscallhdr.sh linux-user, alpha: add syscall table generation support 2020-03-20 16:02:00 +01:00
target_cpu.h linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
target_elf.h linux-user: Move CPU type name selection to a function 2018-02-25 17:27:41 +01:00
target_errno_defs.h linux-user/alpha: Move errno definitions to 'target_errno_defs.h' 2021-07-12 21:53:35 +02:00
target_fcntl.h linux-user: Add missing TARGET___O_TMPFILE for hppa and alpha 2021-02-13 22:50:49 +01:00
target_signal.h linux-user/alpha: Define TARGET_ARCH_HAS_KA_RESTORER 2021-05-18 07:10:45 +02:00
target_structs.h linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
target_syscall.h linux-user/alpha: Move errno definitions to 'target_errno_defs.h' 2021-07-12 21:53:35 +02:00
termbits.h linux-user: Add missing termbits types and values definitions 2020-08-27 12:29:50 +02:00