This fixes double-definitions in bsd-user builds when using the UST tracing backend (which indirectly includes the system's "syscall.h"). Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
15 lines
224 B
C
15 lines
224 B
C
#ifndef TARGET_SYSCALL_H
|
|
#define TARGET_SYSCALL_H
|
|
|
|
struct target_pt_regs {
|
|
abi_ulong psr;
|
|
abi_ulong pc;
|
|
abi_ulong npc;
|
|
abi_ulong y;
|
|
abi_ulong u_regs[16];
|
|
};
|
|
|
|
#define UNAME_MACHINE "sun4"
|
|
|
|
#endif /* TARGET_SYSCALL_H */
|