mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 06:13:46 +08:00
linux-user: Add LoongArch generic header files
This includes: - sockbits.h - target_errno_defs.h - target_fcntl.h - termbits.h - target_resource.h - target_structs.h Signed-off-by: Song Gao <gaosong@loongson.cn> Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: WANG Xuerui <git@xen0n.name> Message-Id: <20220624031049.1716097-2-gaosong@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
e8e86b484e
commit
070f735333
11
linux-user/loongarch64/sockbits.h
Normal file
11
linux-user/loongarch64/sockbits.h
Normal file
@ -0,0 +1,11 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* Copyright (c) 2021 Loongson Technology Corporation Limited
|
||||
*/
|
||||
|
||||
#ifndef LOONGARCH_TARGET_SOCKBITS_H
|
||||
#define LOONGARCH_TARGET_SOCKBITS_H
|
||||
|
||||
#include "../generic/sockbits.h"
|
||||
|
||||
#endif
|
12
linux-user/loongarch64/target_errno_defs.h
Normal file
12
linux-user/loongarch64/target_errno_defs.h
Normal file
@ -0,0 +1,12 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* Copyright (c) 2021 Loongson Technology Corporation Limited
|
||||
*/
|
||||
|
||||
#ifndef LOONGARCH_TARGET_ERRNO_DEFS_H
|
||||
#define LOONGARCH_TARGET_ERRNO_DEFS_H
|
||||
|
||||
/* Target uses generic errno */
|
||||
#include "../generic/target_errno_defs.h"
|
||||
|
||||
#endif
|
11
linux-user/loongarch64/target_fcntl.h
Normal file
11
linux-user/loongarch64/target_fcntl.h
Normal file
@ -0,0 +1,11 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* Copyright (c) 2021 Loongson Technology Corporation Limited
|
||||
*/
|
||||
|
||||
#ifndef LOONGARCH_TARGET_FCNTL_H
|
||||
#define LOONGARCH_TARGET_FCNTL_H
|
||||
|
||||
#include "../generic/fcntl.h"
|
||||
|
||||
#endif
|
1
linux-user/loongarch64/target_prctl.h
Normal file
1
linux-user/loongarch64/target_prctl.h
Normal file
@ -0,0 +1 @@
|
||||
/* No special prctl support required. */
|
11
linux-user/loongarch64/target_resource.h
Normal file
11
linux-user/loongarch64/target_resource.h
Normal file
@ -0,0 +1,11 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* Copyright (c) 2021 Loongson Technology Corporation Limited
|
||||
*/
|
||||
|
||||
#ifndef LOONGARCH_TARGET_RESOURCE_H
|
||||
#define LOONGARCH_TARGET_RESOURCE_H
|
||||
|
||||
#include "../generic/target_resource.h"
|
||||
|
||||
#endif
|
11
linux-user/loongarch64/target_structs.h
Normal file
11
linux-user/loongarch64/target_structs.h
Normal file
@ -0,0 +1,11 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* Copyright (c) 2021 Loongson Technology Corporation Limited
|
||||
*/
|
||||
|
||||
#ifndef LOONGARCH_TARGET_STRUCTS_H
|
||||
#define LOONGARCH_TARGET_STRUCTS_H
|
||||
|
||||
#include "../generic/target_structs.h"
|
||||
|
||||
#endif
|
11
linux-user/loongarch64/termbits.h
Normal file
11
linux-user/loongarch64/termbits.h
Normal file
@ -0,0 +1,11 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* Copyright (c) 2021 Loongson Technology Corporation Limited
|
||||
*/
|
||||
|
||||
#ifndef LOONGARCH_TARGET_TERMBITS_H
|
||||
#define LOONGARCH_TARGET_TERMBITS_H
|
||||
|
||||
#include "../generic/termbits.h"
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user