On 9/10/21 10:58 PM, Song Gao wrote:
By the way, We have already prepared V5 patches. but I see that patches [1] and
[2] have not push into master. How can I use these patches?
[1]:
https://patchew.org/QEMU/20210618192951.125651-1-richard.hender...@linaro.org/
[2]:
https://patchew.org/QEMU/20
Hi, Richard.
On 09/10/2021 08:52 PM, Richard Henderson wrote:
> On 9/8/21 11:50 AM, Song Gao wrote:
>>
>> Hi Richard,
>>
>> On 09/05/2021 06:04 PM, Richard Henderson wrote:
+struct sigframe {
+ uint32_t sf_ass[4]; /* argument save space for o32 */
>>>
>>> Surely there is n
On 9/8/21 11:50 AM, Song Gao wrote:
Hi Richard,
On 09/05/2021 06:04 PM, Richard Henderson wrote:
+struct sigframe {
+ uint32_t sf_ass[4]; /* argument save space for o32 */
Surely there is no "o32" for loongarch?
Yes, qemu only support 64bit. but the kernel has 'o32'. Shoul
Hi Richard,
On 09/05/2021 06:04 PM, Richard Henderson wrote:
>> +struct sigframe {
>> + uint32_t sf_ass[4]; /* argument save space for o32 */
>
> Surely there is no "o32" for loongarch?
>
Yes, qemu only support 64bit. but the kernel has 'o32'. Should we have to be
consistent
On 9/2/21 2:41 PM, Song Gao wrote:
+#include "qemu/osdep.h"
+#include "qemu.h"
+#include "qemu-common.h"
+#include "cpu_loop-common.h"
+#include "elf.h"
+
+void cpu_loop(CPULoongArchState *env)
+{
+CPUState *cs = env_cpu(env);
+target_siginfo_t info;
+int trapnr;
+abi_long ret;
+
Implementation of linux user emulation for LoongArch.
Signed-off-by: Song Gao
Signed-off-by: XiaoJuan Yang
---
include/elf.h | 2 +
linux-user/elfload.c | 58 ++
linux-user/loongarch64/cpu_loop.c | 108 +++
linux-user/lo