Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 15:50:09 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Oliver Pinter <oliver.pntr@gmail.com>
Cc:        current <current@freebsd.org>
Subject:   Re: swapcontext rewrite broke some software
Message-ID:  <516FA5B1.2040202@freebsd.org>
In-Reply-To: <CAPjTQNFOkxK=Qj%2BCrpTk1Xg9AmRs_oUXEMmPqWZA=iHKvqY7zg@mail.gmail.com>
References:  <CAPjTQNFOkxK=Qj%2BCrpTk1Xg9AmRs_oUXEMmPqWZA=iHKvqY7zg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013/04/16 21:24, Oliver Pinter wrote:
> Hi!
>
> After this commit:
>
> commit ac0cfc7fcb1b51ee6aeacfd676fa6dfbe11eefb5
> Author: davidxu <davidxu@FreeBSD.org>
> Date:   Wed Apr 10 02:40:03 2013 +0000
>
>      swapcontext wrapper can not be implemented in C, the stack pointer saved in
>      the context becomes invalid when the function returns, same as setjmp,
>      it must be implemented in assemble language, see discussions in PR
>      misc/177624.
>
> Some* software not found the swapcontext functions after this commit.
> Please add a sentence to UPDATING file and/or bump the
> __FreeBSD_version to reflect this change.
>
>
> * qemu
>

Hi,

The change is reverted.

Regards,
David Xu




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?516FA5B1.2040202>