qemu-arm
[Top][All Lists]
Advanced

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

Re: Aarch64-qemu


From: Wissem Yahiaoui
Subject: Re: Aarch64-qemu
Date: Wed, 6 Nov 2019 13:16:36 +0100

Hi Peter & Qemu Team, 


Actually, I also tried it after you send me the documentation. but it will be also an segmentation fault. Here, it a screenshot on how I did use it. 


Thanks,

On Wed, 6 Nov 2019 at 12:55, Peter Maydell <address@hidden> wrote:
On Wed, 6 Nov 2019 at 11:44, Wissem Yahiaoui <address@hidden> wrote:
>
> Hi Qemu team,
>
> As I sent you in the first email, that the SVE specific registers in aarch64-qemu results an core dumped/segmentation fault. I Tried the ZCR_EL1, ZCR_EL2 and ZCR_EL12, it compiles fine with the gnu toolchain, but it doesn't run in qemu. I need to simulate the length check at run-time, I am using Qemu but apparently I am missing some step/s.

You need to use the prctl() that I suggested, you cannot directly
access any of those registers from userspace. If you have a
simple test program which tries to use the prctl() but does not
work then I can have a look at what is going wrong.

thanks
-- PMM

reply via email to

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