- Timestamp:
- Aug 13, 2016 1:37:19 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c
r63355 r63408 182 182 int fd, error; 183 183 184 LogFlow((DEVICE_NAME ": VBoxGuestNetBSDOpen\n"));184 LogFlow((DEVICE_NAME ": %s\n", __func__)); 185 185 186 186 if ((vboxguest = device_lookup_private(&vboxguest_cd, minor(device))) == NULL) { … … 230 230 vboxguest_softc *vboxguest = session->sc; 231 231 232 LogFlow((DEVICE_NAME ": %s\n", __func__)); 233 232 234 VGDrvCommonCloseSession(&g_DevExt, session->session); 233 235 ASMAtomicDecU32(&cUsers); … … 248 250 249 251 int rc = 0; 252 253 LogFlow((DEVICE_NAME ": %s\n", __func__)); 250 254 251 255 /* … … 332 336 int events_processed; 333 337 334 uint32_t u32CurSeq = ASMAtomicUoReadU32(&g_DevExt.u32MousePosChangedSeq); 338 uint32_t u32CurSeq; 339 340 LogFlow((DEVICE_NAME ": %s\n", __func__)); 341 342 u32CurSeq = ASMAtomicUoReadU32(&g_DevExt.u32MousePosChangedSeq); 335 343 if (session->session->u32MousePosChangedSeq != u32CurSeq) { 336 344 events_processed = events & (POLLIN | POLLRDNORM); … … 350 358 vboxguest = device_private(self); 351 359 360 LogFlow((DEVICE_NAME ": %s\n", __func__)); 361 352 362 if (cUsers > 0) 353 363 return EBUSY; … … 378 388 static int VBoxGuestNetBSDISR(void *pvState) 379 389 { 380 LogFlow((DEVICE_NAME ": VBoxGuestNetBSDISR pvState=%p\n", pvState));390 LogFlow((DEVICE_NAME ": %s: pvState=%p\n", __func__, pvState)); 381 391 382 392 bool fOurIRQ = VGDrvCommonISR(&g_DevExt); … … 387 397 void VGDrvNativeISRMousePollEvent(PVBOXGUESTDEVEXT pDevExt) 388 398 { 389 LogFlow((DEVICE_NAME ": :NativeISRMousePollEvent:\n"));399 LogFlow((DEVICE_NAME ": %s\n", __func__)); 390 400 391 401 /* … … 410 420 char intstrbuf[100]; 411 421 #endif 422 423 LogFlow((DEVICE_NAME ": %s\n", __func__)); 424 412 425 if (pci_intr_map(pa, &vboxguest->ih)) { 413 426 aprint_error_dev(vboxguest->sc_dev, "couldn't map interrupt.\n"); … … 436 449 static void VBoxGuestNetBSDRemoveIRQ(vboxguest_softc *vboxguest) 437 450 { 451 LogFlow((DEVICE_NAME ": %s\n", __func__)); 452 438 453 if (vboxguest->pfnIrqHandler) 439 454 { … … 572 587 register_t retval; 573 588 589 LogFlow((DEVICE_NAME ": %s\n", __func__)); 590 574 591 bmajor = cmajor = NODEVMAJOR; 575 592 switch (cmd) {
Note:
See TracChangeset
for help on using the changeset viewer.

