[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v8 17/29] linux-user: Add LoongArch generic header files
From: |
Song Gao |
Subject: |
[PATCH v8 17/29] linux-user: Add LoongArch generic header files |
Date: |
Mon, 1 Nov 2021 17:51:39 +0800 |
This includes:
- sockbits.h
- target_errno_defs.h
- target_fcntl.h
- termbits.h
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
---
linux-user/loongarch64/sockbits.h | 1 +
linux-user/loongarch64/target_errno_defs.h | 7 +++++++
linux-user/loongarch64/target_fcntl.h | 12 ++++++++++++
linux-user/loongarch64/termbits.h | 1 +
4 files changed, 21 insertions(+)
create mode 100644 linux-user/loongarch64/sockbits.h
create mode 100644 linux-user/loongarch64/target_errno_defs.h
create mode 100644 linux-user/loongarch64/target_fcntl.h
create mode 100644 linux-user/loongarch64/termbits.h
diff --git a/linux-user/loongarch64/sockbits.h
b/linux-user/loongarch64/sockbits.h
new file mode 100644
index 0000000..0e4c8f0
--- /dev/null
+++ b/linux-user/loongarch64/sockbits.h
@@ -0,0 +1 @@
+#include "../generic/sockbits.h"
diff --git a/linux-user/loongarch64/target_errno_defs.h
b/linux-user/loongarch64/target_errno_defs.h
new file mode 100644
index 0000000..17165c1
--- /dev/null
+++ b/linux-user/loongarch64/target_errno_defs.h
@@ -0,0 +1,7 @@
+#ifndef LOONGARCH_TARGET_ERRNO_DEFS_H
+#define LOONGARCH_TARGET_ERRNO_DEFS_H
+
+/* Target uses generic errno */
+#include "../generic/target_errno_defs.h"
+
+#endif
diff --git a/linux-user/loongarch64/target_fcntl.h
b/linux-user/loongarch64/target_fcntl.h
new file mode 100644
index 0000000..b810293
--- /dev/null
+++ b/linux-user/loongarch64/target_fcntl.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2021 Loongson Technology Corporation Limited
+ *
+ * SPDX-License-Identifier: LGPL-2.1+
+ */
+
+#ifndef LOONGARCH_TARGET_FCNTL_H
+#define LOONGARCH_TARGET_FCNTL_H
+
+#include "../generic/fcntl.h"
+
+#endif /* LOONGARCH_TARGET_FCNTL_H */
diff --git a/linux-user/loongarch64/termbits.h
b/linux-user/loongarch64/termbits.h
new file mode 100644
index 0000000..b1d4f4f
--- /dev/null
+++ b/linux-user/loongarch64/termbits.h
@@ -0,0 +1 @@
+#include "../generic/termbits.h"
--
1.8.3.1
- [PATCH v8 07/29] target/loongarch: Add fixed point load/store instruction translation, (continued)
- [PATCH v8 07/29] target/loongarch: Add fixed point load/store instruction translation, Song Gao, 2021/11/01
- [PATCH v8 06/29] target/loongarch: Add fixed point bit instruction translation, Song Gao, 2021/11/01
- [PATCH v8 05/29] target/loongarch: Add fixed point shift instruction translation, Song Gao, 2021/11/01
- [PATCH v8 09/29] target/loongarch: Add fixed point extra instruction translation, Song Gao, 2021/11/01
- [PATCH v8 08/29] target/loongarch: Add fixed point atomic instruction translation, Song Gao, 2021/11/01
- [PATCH v8 10/29] target/loongarch: Add floating point arithmetic instruction translation, Song Gao, 2021/11/01
- [PATCH v8 12/29] target/loongarch: Add floating point conversion instruction translation, Song Gao, 2021/11/01
- [PATCH v8 11/29] target/loongarch: Add floating point comparison instruction translation, Song Gao, 2021/11/01
- [PATCH v8 14/29] target/loongarch: Add floating point load/store instruction translation, Song Gao, 2021/11/01
- [PATCH v8 24/29] default-configs: Add loongarch linux-user support, Song Gao, 2021/11/01
- [PATCH v8 17/29] linux-user: Add LoongArch generic header files,
Song Gao <=
- [PATCH v8 29/29] linux-user: Add safe syscall handling for loongarch64 hosts, Song Gao, 2021/11/01
- [PATCH v8 15/29] target/loongarch: Add branch instruction translation, Song Gao, 2021/11/01
- [PATCH v8 20/29] linux-user: Add LoongArch elf support, Song Gao, 2021/11/01
- [PATCH v8 26/29] target/loongarch: 'make check-tcg' support, Song Gao, 2021/11/01
- [PATCH v8 13/29] target/loongarch: Add floating point move instruction translation, Song Gao, 2021/11/01
- [PATCH v8 18/29] linux-user: Add LoongArch specific structures, Song Gao, 2021/11/01
- [PATCH v8 16/29] target/loongarch: Add disassembler, Song Gao, 2021/11/01
- [PATCH v8 19/29] linux-user: Add LoongArch signal support, Song Gao, 2021/11/01
- [PATCH v8 22/29] linux-user: Add LoongArch cpu_loop support, Song Gao, 2021/11/01