mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
linux-user: Extract target errno to 'target_errno_defs.h'
We want to access the target errno indepently of the rest of the linux-user code. Move the header containing the generic errno definitions ('errno_defs.h') to 'generic/target_errno_defs.h', create a new 'target_errno_defs.h' in each target which itself includes 'generic/target_errno_defs.h'. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210708170550.1846343-4-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
f007472331
commit
8f968b6a24
24 changed files with 139 additions and 7 deletions
|
@ -1,8 +1,6 @@
|
|||
#ifndef SPARC_TARGET_SYSCALL_H
|
||||
#define SPARC_TARGET_SYSCALL_H
|
||||
|
||||
#include "target_errno_defs.h"
|
||||
|
||||
#if defined(TARGET_SPARC64) && !defined(TARGET_ABI32)
|
||||
struct target_pt_regs {
|
||||
abi_ulong u_regs[16];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue