diff mbox series

[29/30] linux-user: Add host dependency for 64-bit LoongArch

Message ID 20210920080451.408655-30-git@xen0n.name (mailing list archive)
State New, archived
Headers show
Series 64-bit LoongArch port of QEMU TCG | expand

Commit Message

WANG Xuerui Sept. 20, 2021, 8:04 a.m. UTC
Currently nothing special is needed for LoongArch hosts to work, so only
leave a placeholder there.

Signed-off-by: WANG Xuerui <git@xen0n.name>
---
 linux-user/host/loongarch64/hostdep.h | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 linux-user/host/loongarch64/hostdep.h

Comments

Richard Henderson Sept. 20, 2021, 5:26 p.m. UTC | #1
On 9/20/21 1:04 AM, WANG Xuerui wrote:
> Currently nothing special is needed for LoongArch hosts to work, so only
> leave a placeholder there.
> 
> Signed-off-by: WANG Xuerui <git@xen0n.name>
> ---
>   linux-user/host/loongarch64/hostdep.h | 11 +++++++++++
>   1 file changed, 11 insertions(+)
>   create mode 100644 linux-user/host/loongarch64/hostdep.h
> 
> diff --git a/linux-user/host/loongarch64/hostdep.h b/linux-user/host/loongarch64/hostdep.h
> new file mode 100644
> index 0000000000..4e55695155
> --- /dev/null
> +++ b/linux-user/host/loongarch64/hostdep.h
> @@ -0,0 +1,11 @@
> +/*
> + * hostdep.h : things which are dependent on the host architecture
> + *
> + * This work is licensed under the terms of the GNU GPL, version 2 or later.
> + * See the COPYING file in the top-level directory.
> + */
> +
> +#ifndef LOONGARCH64_HOSTDEP_H
> +#define LOONGARCH64_HOSTDEP_H
> +
> +#endif
> 

This is not true.  You'll need to write safe-syscall.inc.S for loongarch.  Currently we 
have a fallback, in linux-user/safe-syscall.h, but this is clearly marked as a bug.  I 
plan to drop this fallback very shortly, as all supported hosts have now filled this in.


r~
diff mbox series

Patch

diff --git a/linux-user/host/loongarch64/hostdep.h b/linux-user/host/loongarch64/hostdep.h
new file mode 100644
index 0000000000..4e55695155
--- /dev/null
+++ b/linux-user/host/loongarch64/hostdep.h
@@ -0,0 +1,11 @@ 
+/*
+ * hostdep.h : things which are dependent on the host architecture
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
+#ifndef LOONGARCH64_HOSTDEP_H
+#define LOONGARCH64_HOSTDEP_H
+
+#endif