Changeset 19341 in vbox
- Timestamp:
- May 4, 2009 9:25:26 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime/r0drv/freebsd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c
r19071 r19341 618 618 vm_page_t Page = PHYS_TO_VM_PAGE(vtophys(AddrToMap)); 619 619 620 #if __FreeBSD_version >= 800002 621 pmap_enter(pPhysicalMap, AddrR3Dst, VM_PROT_NONE, Page, ProtectionFlags, TRUE); 622 #else 620 623 pmap_enter(pPhysicalMap, AddrR3Dst, Page, ProtectionFlags, TRUE); 624 #endif 621 625 AddrToMap += PAGE_SIZE; 622 626 AddrR3Dst += PAGE_SIZE; -
trunk/src/VBox/Runtime/r0drv/freebsd/thread2-r0drv-freebsd.c
r18972 r19341 112 112 rc = rtThreadMain(pThreadInt, (RTNATIVETHREAD)Self, &pThreadInt->szName[0]); 113 113 114 #if __FreeBSD_version >= 800002 115 kproc_exit(rc); 116 #else 114 117 kthread_exit(rc); 118 #endif 115 119 } 116 120 … … 121 125 struct proc *pProc; 122 126 127 #if __FreeBSD_version >= 800002 128 rc = kproc_create(rtThreadNativeMain, pThreadInt, &pProc, RFHIGHPID, 0, "%s", pThreadInt->szName); 129 #else 123 130 rc = kthread_create(rtThreadNativeMain, pThreadInt, &pProc, RFHIGHPID, 0, "%s", pThreadInt->szName); 131 #endif 124 132 if (!rc) 125 133 {
Note:
See TracChangeset
for help on using the changeset viewer.