- Timestamp:
- Apr 17, 2007 7:50:47 PM (18 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/Makefile
r2085 r2142 185 185 VBoxDrv_TEMPLATE = VBOXR0DRV 186 186 VBoxDrv_DEFS = IN_RT_R0 IN_SUP_R0 USE_NEW_OS_INTERFACE 187 VBoxDrv_DEFS += DEBUG_DARWIN_GIP 187 188 VBoxDrv_INCS = $(VBOX_PATH_SUPPORT) 188 189 VBoxDrv_LIBS = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) -
trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c
r2020 r2142 2339 2339 *ppGipR3 = pGip; 2340 2340 2341 #ifdef DEBUG_DARWIN_GIP 2342 OSDBGPRINT(("SUPR0GipMap: returns %d *pHCPhysGid=%lx *ppGip=%p GipMapObjR3\n", rc, (unsigned long)HCPhys, pGip, pSession->GipMapObjR3)); 2343 #else 2341 2344 dprintf(("SUPR0GipMap: returns %d *pHCPhysGid=%lx *ppGipR3=%p\n", rc, (unsigned long)HCPhys, (void *)(uintptr_t)pGip)); 2345 #endif 2342 2346 return rc; 2343 2347 } … … 2356 2360 int rc = 0; 2357 2361 PSUPDRVDEVEXT pDevExt = pSession->pDevExt; 2362 #ifdef DEBUG_DARWIN_GIP 2363 OSDBGPRINT(("SUPR0GipUnmap: pSession=%p pGip=%p GipMapObjR3=%p\n", 2364 pSession, 2365 pSession->GipMapObjR3 != NIL_RTR0MEMOBJ ? RTR0MemObjAddress(pSession->GipMapObjR3) : NULL, 2366 pSession->GipMapObjR3)); 2367 #else 2358 2368 dprintf(("SUPR0GipUnmap: pSession=%p\n", pSession)); 2369 #endif 2359 2370 2360 2371 RTSemFastMutexRequest(pDevExt->mtxGip); … … 3966 3977 { 3967 3978 int rc; 3979 #ifdef DEBUG_DARWIN_GIP 3980 OSDBGPRINT(("supdrvGipDestroy: pDevExt=%p pGip=%p pGipTimer=%p GipMemObj=%p\n", pDevExt, 3981 pDevExt->GipMemObj != NIL_RTR0MEMOBJ ? RTR0MemObjAddress(pDevExt->GipMemObj) : NULL, 3982 pDevExt->pGipTimer, pDevExt->GipMemObj)); 3983 #endif 3968 3984 3969 3985 /* … … 4030 4046 { 4031 4047 unsigned i; 4048 #ifdef DEBUG_DARWIN_GIP 4049 OSDBGPRINT(("supdrvGipInit: pGip=%p HCPhys=%lx u64NanoTS=%llu uUpdateHz=%d\n", pGip, (long)HCPhys, u64NanoTS, uUpdateHz)); 4050 #else 4032 4051 dprintf(("supdrvGipInit: pGip=%p HCPhys=%lx u64NanoTS=%llu uUpdateHz=%d\n", pGip, (long)HCPhys, u64NanoTS, uUpdateHz)); 4052 #endif 4033 4053 4034 4054 /* -
trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
r2141 r2142 300 300 int rc; 301 301 PSUPDRVSESSION pSession; 302 #ifdef DEBUG 302 #ifdef DEBUG_DARWIN_GIP 303 303 char szName[128]; 304 304 szName[0] = '\0'; … … 334 334 } 335 335 336 #if 1 336 #ifdef DEBUG_DARWIN_GIP 337 OSDBGPRINT(("VBoxSupDrvOpen: pid=%d '%s' pSession=%p rc=%d\n", proc_pid(pProcess), szName, pSession, rc)); 338 #else 337 339 dprintf(("VBoxSupDrvOpen: g_DevExt=%p pSession=%p rc=%d pid=%d\n", &g_DevExt, pSession, rc, proc_pid(pProcess))); 338 #else339 OSDBGPRINT(("VBoxSupDrvOpen: pid=%d '%s' pSession=%p rc=%d\n", proc_pid(pProcess), szName, pSession, rc));340 340 #endif 341 341 return VBoxSupDrvErr2DarwinErr(rc);
Note:
See TracChangeset
for help on using the changeset viewer.