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 ... */
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"