Hello,

the following is needed since r284215 (__FreeBSD_version 1100077):

--- ./src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c.orig        
2015-06-10 19:30:28.355276494 +0000
+++ ./src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c     2015-06-10 
19:30:41.280304985 +0000
@@ -747,7 +747,7 @@
     {
         /** @todo: is this needed?. */
         PROC_LOCK(pProc);
-        AddrR3 = round_page((vm_offset_t)pProc->p_vmspace->vm_daddr + 
lim_max(pProc, RLIMIT_DATA));
+        AddrR3 = round_page((vm_offset_t)pProc->p_vmspace->vm_daddr + 
lim_max_proc(pProc, RLIMIT_DATA));
         PROC_UNLOCK(pProc);
     }
     else

Interestingly enough for some reason the build does not fail without the patch,
even though resulting code is clearly broken as lim_max now expects a thread
argument.

-- 
Mateusz Guzik <mjguzik gmail.com>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to