VirtualBox

Changeset 63408 in vbox for trunk


Ignore:
Timestamp:
Aug 13, 2016 1:37:19 AM (8 years ago)
Author:
vboxsync
Message:

VBoxGuest-netbsd.c: Sprinkle LogFlow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c

    r63355 r63408  
    182182    int fd, error;
    183183
    184     LogFlow((DEVICE_NAME ":VBoxGuestNetBSDOpen\n"));
     184    LogFlow((DEVICE_NAME ": %s\n", __func__));
    185185
    186186    if ((vboxguest = device_lookup_private(&vboxguest_cd, minor(device))) == NULL) {
     
    230230    vboxguest_softc *vboxguest = session->sc;
    231231
     232    LogFlow((DEVICE_NAME ": %s\n", __func__));
     233
    232234    VGDrvCommonCloseSession(&g_DevExt, session->session);
    233235    ASMAtomicDecU32(&cUsers);
     
    248250
    249251    int rc = 0;
     252
     253    LogFlow((DEVICE_NAME ": %s\n", __func__));
    250254
    251255    /*
     
    332336    int events_processed;
    333337
    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);
    335343    if (session->session->u32MousePosChangedSeq != u32CurSeq) {
    336344        events_processed = events & (POLLIN | POLLRDNORM);
     
    350358    vboxguest = device_private(self);
    351359
     360    LogFlow((DEVICE_NAME ": %s\n", __func__));
     361
    352362    if (cUsers > 0)
    353363        return EBUSY;
     
    378388static int VBoxGuestNetBSDISR(void *pvState)
    379389{
    380     LogFlow((DEVICE_NAME ":VBoxGuestNetBSDISR pvState=%p\n", pvState));
     390    LogFlow((DEVICE_NAME ": %s: pvState=%p\n", __func__, pvState));
    381391
    382392    bool fOurIRQ = VGDrvCommonISR(&g_DevExt);
     
    387397void VGDrvNativeISRMousePollEvent(PVBOXGUESTDEVEXT pDevExt)
    388398{
    389     LogFlow((DEVICE_NAME "::NativeISRMousePollEvent:\n"));
     399    LogFlow((DEVICE_NAME ": %s\n", __func__));
    390400
    391401    /*
     
    410420    char intstrbuf[100];
    411421#endif
     422
     423    LogFlow((DEVICE_NAME ": %s\n", __func__));
     424
    412425    if (pci_intr_map(pa, &vboxguest->ih)) {
    413426        aprint_error_dev(vboxguest->sc_dev, "couldn't map interrupt.\n");
     
    436449static void VBoxGuestNetBSDRemoveIRQ(vboxguest_softc *vboxguest)
    437450{
     451    LogFlow((DEVICE_NAME ": %s\n", __func__));
     452
    438453    if (vboxguest->pfnIrqHandler)
    439454    {
     
    572587    register_t retval;
    573588
     589    LogFlow((DEVICE_NAME ": %s\n", __func__));
     590
    574591    bmajor = cmajor = NODEVMAJOR;
    575592    switch (cmd) {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette