qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Henderson
Subject: Re: [PATCH 29/30] linux-user: Add host dependency for 64-bit LoongArch
Date: Mon, 20 Sep 2021 10:26:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

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~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]