qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v11 19/26] linux-user: Add LoongArch signal support


From: Richard Henderson
Subject: Re: [PATCH v11 19/26] linux-user: Add LoongArch signal support
Date: Wed, 24 Nov 2021 10:40:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 11/24/21 8:50 AM, gaosong wrote:
No, sc_reserved does not match.

uint8   sc_reserved[4096] __attribute__((aligned(16)));

Yes.

BTW,  should we set scr[0-3] as 0 ?

I think so. The LoongArch Reference Manual, Volume 3: Virtualization and Binary Translation Extensions, v1.00, is empty. But I do not imagine a world in which 0 is not a safe indication of "this field is empty/unused".

No, pad0 does not match __unused.

uint8  unused[1024 / 8 - sizeof(target_sigset_t)];
Is this right?

Yes.


r~



reply via email to

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