From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 10 20:25:12 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F14710656EA for ; Thu, 10 Feb 2011 20:25:12 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 567EA8FC1B for ; Thu, 10 Feb 2011 20:25:10 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 3FDBCE; Thu, 10 Feb 2011 21:25:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Thu, 10 Feb 2011 21:25:09 +0100 From: Bernhard Froehlich To: Michael Butler In-Reply-To: <4D52E51F.8080304@protected-networks.net> References: <4D52E45E.4040505@protected-networks.net> <4D52E51F.8080304@protected-networks.net> Message-ID: <5da78aa76aa9299fef2ca0f300a991be@bluelife.at> X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.5 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0209.4D5449A4.0223,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-emulation@freebsd.org Subject: Re: virtualbox-ose-kmod breakage after svn r218425 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 20:25:12 -0000 On Wed, 09 Feb 2011 14:03:59 -0500, Michael Butler wrote: > On 02/09/11 14:00, Michael Butler wrote: >> Attached is a patch required for vboxdrv.ko to load after the (public) >> disappearance of uio_yield. >> >> Presumably, this will need to be applied to the other branches at >> bluelife.at >> >> imb > > Mailman ate my homework! > > *** ./src/VBox/Runtime/r0drv/freebsd/thread-r0drv-freebsd.c~ Wed Dec > 1 12:09:43 2010 > --- ./src/VBox/Runtime/r0drv/freebsd/thread-r0drv-freebsd.c Wed Feb > 9 13:44:28 2011 > *************** > *** 101,107 **** > --- 101,111 ---- > > RTDECL(bool) RTThreadYield(void) > { > + #if (__FreeBSD_version >= 900032) > + kern_yield(curthread->td_user_pri); > + #else > uio_yield(); > + #endif > return false; /** @todo figure this one ... */ > } Thanks, applied in r1215. Could you please reply and confirm that this patch is under the MIT License so that we can push this upstream? http://svn.bluelife.at/index.cgi/blueports/revision/?rev=1215 -- Bernhard Froehlich http://www.bluelife.at/