mirror of
https://github.com/qemu/qemu.git
synced 2025-10-23 17:45:11 +00:00
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>
8 lines
151 B
C
8 lines
151 B
C
#ifndef RISCV_TARGET_ERRNO_DEFS_H
|
|
#define RISCV_TARGET_ERRNO_DEFS_H
|
|
|
|
/* Target uses generic errno */
|
|
#include "../generic/target_errno_defs.h"
|
|
|
|
#endif
|