qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] target/xtensa: linux-user: add call0 ABI sup


From: Max Filippov
Subject: Re: [Qemu-devel] [PATCH v2] target/xtensa: linux-user: add call0 ABI support
Date: Mon, 26 Aug 2019 12:53:07 -0700

On Mon, Aug 26, 2019 at 11:17 AM Max Filippov <address@hidden> wrote:
>
> Xtensa binaries built for call0 ABI don't rotate register window on
> function calls and returns. Invocation of signal handlers from the
> kernel is therefore different in windowed and call0 ABIs.
> There's currently no way to determine xtensa ELF binary ABI from the
> binary itself. Add handler for the --xtensa-abi-call0 command line
> parameter/QEMU_XTENSA_ABI_CALL0 envitonment variable to the qemu-user
> and record ABI choice. Use it to initialize PS.WOE in xtensa_cpu_reset
> and in setup_rt_frame to determine how a signal should be delivered.
>
> Signed-off-by: Max Filippov <address@hidden>
> ---
> Changes v1->v2:
>
> - move handling of QEMU_XTENSA_ABI_CALL0 to linux-user/main.c
> - check xtensa_abi_call0 instead of PS.WOE in the setup_rt_frame

Thought about it some more and decided that checking PS.WOE
was a better choice. Will send v3.

-- 
Thanks.
-- Max



reply via email to

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