- Timestamp:
- Aug 15, 2016 10:43:13 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp
r62477 r63508 211 211 212 212 #ifdef RT_STRICT 213 # if 0 /* unused */ 213 214 214 215 /** … … 351 352 } 352 353 354 # endif /* unused */ 353 355 #endif /* RT_STRICT */ 354 356 … … 565 567 # ifdef RT_STRICT 566 568 /* check that the memory is actually mapped. */ 567 RTTHREADPREEMPTSTATE State = RTTHREADPREEMPTSTATE_INITIALIZER;568 RTThreadPreemptDisable(&State );569 RTTHREADPREEMPTSTATE State2 = RTTHREADPREEMPTSTATE_INITIALIZER; 570 RTThreadPreemptDisable(&State2); 569 571 rtR0MemObjDarwinTouchPages(pv, cb); 570 RTThreadPreemptRestore(&State );572 RTThreadPreemptRestore(&State2); 571 573 # endif 572 574 … … 709 711 * Estimate is 2-3 days. 710 712 */ 713 RT_NOREF(ppMem, cb, PhysHighest); 711 714 return VERR_NOT_SUPPORTED; 712 715 } … … 867 870 DECLHIDDEN(int) rtR0MemObjNativeReserveKernel(PPRTR0MEMOBJINTERNAL ppMem, void *pvFixed, size_t cb, size_t uAlignment) 868 871 { 872 RT_NOREF(ppMem, pvFixed, cb, uAlignment); 869 873 return VERR_NOT_SUPPORTED; 870 874 } … … 873 877 DECLHIDDEN(int) rtR0MemObjNativeReserveUser(PPRTR0MEMOBJINTERNAL ppMem, RTR3PTR R3PtrFixed, size_t cb, size_t uAlignment, RTR0PROCESS R0Process) 874 878 { 879 RT_NOREF(ppMem, R3PtrFixed, cb, uAlignment, R0Process); 875 880 return VERR_NOT_SUPPORTED; 876 881 } … … 880 885 unsigned fProt, size_t offSub, size_t cbSub) 881 886 { 887 RT_NOREF(fProt); 882 888 AssertReturn(pvFixed == (void *)-1, VERR_NOT_SUPPORTED); 883 889 … … 988 994 989 995 990 DECLHIDDEN(int) rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, RTR3PTR R3PtrFixed, size_t uAlignment, unsigned fProt, RTR0PROCESS R0Process) 991 { 996 DECLHIDDEN(int) rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, RTR3PTR R3PtrFixed, size_t uAlignment, 997 unsigned fProt, RTR0PROCESS R0Process) 998 { 999 RT_NOREF(fProt); 1000 992 1001 /* 993 1002 * Check for unsupported things.
Note:
See TracChangeset
for help on using the changeset viewer.