From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 10 20:38:01 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 2D948106566B; Thu, 10 Feb 2011 20:38:01 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.auburn.protected-networks.net (mail.auburn.protected-networks.net [IPv6:2001:470:1f07:4e1::3]) by mx1.freebsd.org (Postfix) with ESMTP id DE4F78FC17; Thu, 10 Feb 2011 20:38:00 +0000 (UTC) Received: from mail.auburn.protected-networks.net (localhost.auburn.protected-networks.net [127.0.0.1]) by mail.auburn.protected-networks.net (Postfix) with ESMTP id BB3B21CCF8; Thu, 10 Feb 2011 15:37:59 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-type:content-type :content-transfer-encoding:date:date:subject:subject:from:from :content-class:mime-version:received; s=200705; t=1297370278; bh=ZM3Qe/q4668csltVJOuYc7uu86wIsfHKxtetF41lVWw=; b=JVUHGythzlZ5 j6T33RK86Bh3iMyTko0tc+BkMdHjxLG4fLc5e2YD80HnUK95+8Jr5HDEmsqhvzqz g5tRgYqckIfM4pySXdotmUVVnXted0DquHZiD8TSLUPZo1hFjCUv Received: from Inbox (pronet-leo.auburn.protected-networks.net [192.168.1.14]) (Authenticated sender: imb@mail.auburn.protected-networks.net) by mail.auburn.protected-networks.net (Postfix) with ESMTPA; Thu, 10 Feb 2011 15:37:58 -0500 (EST) MIME-Version: 1.0 content-class: From: Michael Butler Date: Thu, 10 Feb 2011 15:37:59 -0500 Importance: normal X-Priority: 3 To: Bernhard Froehlich Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Message-Id: <20110210203801.2D948106566B@hub.freebsd.org> 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:38:01 -0000 I do not consider my very minor patch to impose any different licence to th= e code to which is applicable. Please feel free to do with it as you wish, imb =20 -----Original Message----- From: Bernhard Froehlich Sent: February 10, 2011 15:25 To: Michael Butler Cc: freebsd-emulation@freebsd.org Subject: Re: virtualbox-ose-kmod breakage after svn r218425 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 >=20 > Mailman ate my homework! >=20 > *** ./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 ---- >=20 > RTDECL(bool) RTThreadYield(void) > { > + #if (__FreeBSD_version >=3D 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=3D1215 --=20 Bernhard Froehlich http://www.bluelife.at/