[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 3/7] qemu: add support for iOS host
From: |
Peter Maydell |
Subject: |
Re: [PATCH v6 3/7] qemu: add support for iOS host |
Date: |
Thu, 21 Jan 2021 18:53:57 +0000 |
On Tue, 5 Jan 2021 at 02:25, Joelle van Dyne <j@getutm.app> wrote:
>
> This introduces support for building for iOS hosts. When the correct Xcode
> toolchain is used, iOS host will be detected automatically.
>
> * block: disable features not supported by iOS sandbox
> * slirp: disable SMB features for iOS
> * osdep: disable system() calls for iOS
> +``ucontext`` support is broken on iOS. The implementation from
> ``libucontext``
> +is used instead.
Just a note since it came up in another thread today, but
looking at libucontext its aarch64 backend doesn't handle
the floating point registers. I think if the *context
routines don't save/restore the callee-saves fp regs
(v8-v15, FPCR) then it's liable to result in tricky-to-track
down bugs where some kept-in-a-callee-saves-fp-register data
from a function further up the callstack gets corrupted, depending
on what the compiler happens to do. It would be good to work with
the libucontext maintainers to add that functionality.
thanks
-- PMM
- [PATCH v6 4/7] coroutine: add libucontext as external library, (continued)
- [PATCH v6 4/7] coroutine: add libucontext as external library, Joelle van Dyne, 2021/01/04
- [PATCH v6 5/7] configure: cross compile should use x86_64 cpu_family, Joelle van Dyne, 2021/01/04
- [PATCH v6 3/7] qemu: add support for iOS host, Joelle van Dyne, 2021/01/04
- [PATCH v6 7/7] block: check availablity for preadv/pwritev on mac, Joelle van Dyne, 2021/01/04
- Re: [PATCH v6 0/7] iOS and Apple Silicon host support, Peter Maydell, 2021/01/12