Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
24 changed files
with
139 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef AARCH64_TARGET_ERRNO_DEFS_H | ||
#define AARCH64_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef ALPHA_TARGET_ERRNO_DEFS_H | ||
#define ALPHA_TARGET_ERRNO_DEFS_H | ||
|
||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef ARM_TARGET_ERRNO_DEFS_H | ||
#define ARM_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef CRIS_TARGET_ERRNO_DEFS_H | ||
#define CRIS_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef HEXAGON_TARGET_ERRNO_DEFS_H | ||
#define HEXAGON_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef HPPA_TARGET_ERRNO_DEFS_H | ||
#define HPPA_TARGET_ERRNO_DEFS_H | ||
|
||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef I386_TARGET_ERRNO_DEFS_H | ||
#define I386_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef M68K_TARGET_ERRNO_DEFS_H | ||
#define M68K_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef MICROBLAZE_TARGET_ERRNO_DEFS_H | ||
#define MICROBLAZE_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef MIPS_TARGET_ERRNO_DEFS_H | ||
#define MIPS_TARGET_ERRNO_DEFS_H | ||
|
||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef MIPS64_TARGET_ERRNO_DEFS_H | ||
#define MIPS64_TARGET_ERRNO_DEFS_H | ||
|
||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef NIOS2_TARGET_ERRNO_DEFS_H | ||
#define NIOS2_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef OR1K_TARGET_ERRNO_DEFS_H | ||
#define OR1K_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef PPC_TARGET_ERRNO_DEFS_H | ||
#define PPC_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef RISCV_TARGET_ERRNO_DEFS_H | ||
#define RISCV_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef S390X_TARGET_ERRNO_DEFS_H | ||
#define S390X_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef SH4_TARGET_ERRNO_DEFS_H | ||
#define SH4_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef X86_64_TARGET_ERRNO_DEFS_H | ||
#define X86_64_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef XTENSA_TARGET_ERRNO_DEFS_H | ||
#define XTENSA_TARGET_ERRNO_DEFS_H | ||
|
||
/* Target uses generic errno */ | ||
#include "../generic/target_errno_defs.h" | ||
|
||
#endif |