Changeset 14824 in vbox for trunk/src/VBox/Runtime/r0drv/linux
- Timestamp:
- Nov 30, 2008 7:52:59 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 40150
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r13994 r14824 940 940 941 941 942 int rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt) 942 int rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, 943 unsigned fProt, size_t offSub, size_t cbSub) 943 944 { 944 945 int rc = VERR_NO_MEMORY; … … 947 948 948 949 /* Fail if requested to do something we can't. */ 950 AssertMsgReturn(!offSub && !cbSub, ("%#x %#x\n", offSub, cbSub), VERR_NOT_SUPPORTED); 949 951 AssertMsgReturn(pvFixed == (void *)-1, ("%p\n", pvFixed), VERR_NOT_SUPPORTED); 950 952 AssertMsgReturn(uAlignment <= PAGE_SIZE, ("%#x\n", uAlignment), VERR_NOT_SUPPORTED);
Note:
See TracChangeset
for help on using the changeset viewer.