- Timestamp:
- Jun 7, 2008 2:32:46 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 31764
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
r8155 r9498 33 33 * Header Files * 34 34 *******************************************************************************/ 35 /* 35 /* 36 36 * Deal with conflicts first. 37 37 * PVM - BSD mess, that FreeBSD has correct a long time ago. … … 493 493 if (RT_UNLIKELY((pHdr->fFlags & SUPREQHDR_FLAGS_MAGIC_MASK) != SUPREQHDR_FLAGS_MAGIC)) 494 494 { 495 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: bad magic fFlags=%#x; iCmd=%#lx\n", pHdr->fFlags, iCmd)); 495 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: bad magic fFlags=%#x; iCmd=%#lx\n", pHdr->fFlags, iCmd)); 496 496 return EINVAL; 497 497 } … … 506 506 else if ((IOC_DIRMASK & iCmd) == IOC_VOID && !cbReq) 507 507 { 508 /* 508 /* 509 509 * Get the header and figure out how much we're gonna have to read. 510 */ 510 */ 511 511 SUPREQHDR Hdr; 512 512 pUser = (user_addr_t)*(void **)pData; … … 519 519 if (RT_UNLIKELY((Hdr.fFlags & SUPREQHDR_FLAGS_MAGIC_MASK) != SUPREQHDR_FLAGS_MAGIC)) 520 520 { 521 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: bad magic fFlags=%#x; iCmd=%#lx\n", Hdr.fFlags, iCmd)); 521 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: bad magic fFlags=%#x; iCmd=%#lx\n", Hdr.fFlags, iCmd)); 522 522 return EINVAL; 523 523 } … … 545 545 if (RT_UNLIKELY(rc)) 546 546 { 547 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: copyin(%llx,%p,%#x) -> %#x; iCmd=%#lx\n", 547 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: copyin(%llx,%p,%#x) -> %#x; iCmd=%#lx\n", 548 548 (unsigned long long)pUser, pHdr, Hdr.cbIn, rc, iCmd)); 549 549 if (pvPageBuf) … … 579 579 rc = copyout(pHdr, pUser, cbOut); 580 580 if (RT_UNLIKELY(rc)) 581 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: copyout(%p,%llx,%#x) -> %d; uCmd=%#lx!\n", 581 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: copyout(%p,%llx,%#x) -> %d; uCmd=%#lx!\n", 582 582 pHdr, (unsigned long long)pUser, cbOut, rc, iCmd)); 583 583 … … 591 591 else 592 592 { 593 /* 593 /* 594 594 * The request failed, just clean up. 595 595 */ … … 639 639 NOREF(pszObjName); 640 640 NOREF(prc); 641 return false; 642 } 643 644 645 bool VBOXCALL supdrvOSGetForcedAsyncTscMode(PSUPDRVDEVEXT pDevExt) 646 { 647 NOREF(pDevExt); 641 648 return false; 642 649 }
Note:
See TracChangeset
for help on using the changeset viewer.