VirtualBox

Changeset 37423 in vbox


Ignore:
Timestamp:
Jun 12, 2011 6:37:56 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72222
Message:

Ran the source code massager (scm).

Location:
trunk
Files:
61 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/RemoteDesktop/VRDE.h

    r36435 r37423  
    4848struct VRDEServer;
    4949typedef struct VRDEServerType *HVRDESERVER;
    50 #endif /* __cplusplus */
     50#endif /* !__cplusplus */
    5151
    5252/* Callback based VRDE server interface declarations. */
     
    11181118
    11191119
    1120 /* Indexes for VRDECallbackProperty. 
     1120/* Indexes for VRDECallbackProperty.
    11211121 * *_QP_* queries a property.
    11221122 * *_SP_* sets a property.
  • trunk/include/VBox/usblib-win.h

    r36959 r37423  
    263263typedef struct
    264264{
    265         USBSUP_DEVID DevId;
    266         char szName[512];
    267         USBDEVICESTATE enmState;
    268     bool fHiSpeed;
     265    USBSUP_DEVID    DevId;
     266    char            szName[512];
     267    USBDEVICESTATE enmState;
     268    bool            fHiSpeed;
    269269} USBSUP_DEVINFO, *PUSBSUP_DEVINFO;
    270270
    271271typedef struct
    272272{
    273     int rc;
    274     uint32_t cDevices;
    275     USBSUP_DEVINFO aDevices[1];
     273    int             rc;
     274    uint32_t        cDevices;
     275    USBSUP_DEVINFO  aDevices[1];
    276276} USBSUP_GET_DEVICES, *PUSBSUP_GET_DEVICES;
    277277
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/common/xpdm/VBoxVideoPortAPI.h

    r36867 r37423  
    7878
    7979    PFNQUEUEDPC pfnQueueDpc;
    80    
     80
    8181    PFNCREATESECONDARYDISPLAY pfnCreateSecondaryDisplay;
    8282} VBOXVIDEOPORTPROCS;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.cpp

    r37216 r37423  
    49554955             * for some reason we're getting pSurf->SysMemPitch as if took 4x1 column from this block,
    49564956             * which leads us to having 4x times bigger pitch than actual line takes.
    4957              * Simply trying to read here provided pointer 
     4957             * Simply trying to read here provided pointer
    49584958             * at (byte*)pSurf->pSysMem + pSurf->pSurf->SysMemPitch*pSurf->Height - 1 causes access violation.
    49594959             */
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDisp.h

    r36867 r37423  
    102102    HANDLE hDriver;                          /* Display device handle which was passed to VBoxDispDrvEnablePDEV */
    103103    HDEV   hDevGDI;                          /* GDI's handle for PDEV created in VBoxDispDrvEnablePDEV */
    104    
     104
    105105    VBOXDISPCURRENTMODE mode;                /* Current device mode */
    106106    ULONG iDevice;                           /* Miniport's device index */
     
    152152VOID APIENTRY VBoxDispDrvDisableSurface(DHPDEV dhpdev);
    153153
    154 BOOL APIENTRY VBoxDispDrvLineTo(SURFOBJ *pso, CLIPOBJ *pco, BRUSHOBJ *pbo, 
     154BOOL APIENTRY VBoxDispDrvLineTo(SURFOBJ *pso, CLIPOBJ *pco, BRUSHOBJ *pbo,
    155155                                LONG x1, LONG y1, LONG x2, LONG y2, RECTL *prclBounds, MIX mix);
    156156BOOL APIENTRY VBoxDispDrvStrokePath(SURFOBJ *pso, PATHOBJ *ppo, CLIPOBJ *pco, XFORMOBJ *pxo,
     
    171171                                    COLORADJUSTMENT *pca, POINTL *pptlHTOrg, RECTL *prclDest, RECTL *prclSrc,
    172172                                    POINTL *pptlMask, ULONG iMode);
    173 BOOL APIENTRY VBoxDispDrvCopyBits(SURFOBJ *psoDest, SURFOBJ *psoSrc, CLIPOBJ *pco, XLATEOBJ *pxlo, 
     173BOOL APIENTRY VBoxDispDrvCopyBits(SURFOBJ *psoDest, SURFOBJ *psoSrc, CLIPOBJ *pco, XLATEOBJ *pxlo,
    174174                                  RECTL *prclDest, POINTL *pptlSrc);
    175175
     
    192192
    193193#ifdef VBOX_WITH_DDRAW
    194 BOOL APIENTRY VBoxDispDrvGetDirectDrawInfo(DHPDEV dhpdev, DD_HALINFO *pHalInfo, DWORD *pdwNumHeaps, 
     194BOOL APIENTRY VBoxDispDrvGetDirectDrawInfo(DHPDEV dhpdev, DD_HALINFO *pHalInfo, DWORD *pdwNumHeaps,
    195195                                           VIDEOMEMORY *pvmList, DWORD *pdwNumFourCCCodes, DWORD *pdwFourCC);
    196 BOOL APIENTRY VBoxDispDrvEnableDirectDraw(DHPDEV dhpdev, DD_CALLBACKS *pCallBacks, 
     196BOOL APIENTRY VBoxDispDrvEnableDirectDraw(DHPDEV dhpdev, DD_CALLBACKS *pCallBacks,
    197197                                          DD_SURFACECALLBACKS *pSurfaceCallBacks,
    198198                                          DD_PALETTECALLBACKS *pPaletteCallBacks);
     
    217217    return pso;
    218218}
    219                                                        
     219
    220220#endif /*VBOXDISP_H*/
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDDraw.cpp

    r36867 r37423  
    248248}
    249249
    250 /* Called to destroy DirectDraw surface, 
     250/* Called to destroy DirectDraw surface,
    251251 * in particular we should free vhwa resources allocated on VBoxDispDDCreateSurface.
    252252 * Note: we're always returning DDHAL_DRIVER_NOTHANDLED because we rely on DirectDraw memory manager.
     
    499499            VBoxVBVABufferEndUpdate(&pDev->vbvaCtx);
    500500        }
    501         else if ((pSurf->ddsCaps.dwCaps & DDSCAPS_VISIBLE) 
     501        else if ((pSurf->ddsCaps.dwCaps & DDSCAPS_VISIBLE)
    502502                 || ((pSurf->ddsCaps.dwCaps & DDSCAPS_OVERLAY) && pDesc->bVisible))
    503503        {
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDDrawVHWA.cpp

    r36867 r37423  
    5959    if (VBOXVHWA_CAP(pDev, VBOXVHWA_CAPS_BLT))
    6060    {
    61         /* we only support simple dst=src copy 
     61        /* we only support simple dst=src copy
    6262         * Note: search "ternary raster operations" on msdn for more info
    6363         */
     
    540540            {
    541541                PVBOXVHWASURFDESC pDstDesc = (PVBOXVHWASURFDESC) pDstSurf->lpGbl->dwReserved1;
    542    
     542
    543543                if (!pDstDesc)
    544544                {
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDrawCmd.cpp

    r36867 r37423  
    285285 */
    286286
    287 BOOL APIENTRY 
     287BOOL APIENTRY
    288288VBoxDispDrvLineTo(SURFOBJ *pso, CLIPOBJ *pco, BRUSHOBJ *pbo, LONG x1, LONG y1, LONG x2, LONG y2,
    289289                  RECTL *prclBounds, MIX mix)
     
    300300}
    301301
    302 BOOL APIENTRY 
     302BOOL APIENTRY
    303303VBoxDispDrvStrokePath(SURFOBJ *pso, PATHOBJ *ppo, CLIPOBJ *pco, XFORMOBJ *pxo,
    304304                      BRUSHOBJ  *pbo, POINTL *pptlBrushOrg, LINEATTRS *plineattrs, MIX mix)
     
    315315}
    316316
    317 BOOL APIENTRY 
     317BOOL APIENTRY
    318318VBoxDispDrvFillPath(SURFOBJ *pso, PATHOBJ *ppo, CLIPOBJ *pco, BRUSHOBJ *pbo, POINTL *pptlBrushOrg,
    319319                    MIX mix, FLONG flOptions)
     
    343343}
    344344
    345 BOOL APIENTRY 
     345BOOL APIENTRY
    346346VBoxDispDrvTextOut(SURFOBJ *pso, STROBJ *pstro, FONTOBJ *pfo, CLIPOBJ *pco,
    347347                   RECTL *prclExtra, RECTL *prclOpaque, BRUSHOBJ *pboFore,
     
    498498}
    499499
    500 BOOL APIENTRY 
     500BOOL APIENTRY
    501501VBoxDispDrvBitBlt(SURFOBJ *psoTrg, SURFOBJ *psoSrc, SURFOBJ *psoMask, CLIPOBJ *pco, XLATEOBJ *pxlo,
    502502                  RECTL *prclTrg, POINTL *pptlSrc, POINTL *pptlMask, BRUSHOBJ *pbo, POINTL *pptlBrush, ROP4 rop4)
     
    509509         "pptlMask = %p, pbo = %p, pptlBrush = %p, rop4 = %08X",
    510510         psoTrg, psoSrc, psoMask, pco, pxlo, prclTrg, pptlSrc, pptlMask, pbo, pptlBrush, rop4));
    511    
     511
    512512    bRc = EngBitBlt(getSurfObj(psoTrg), getSurfObj(psoSrc), psoMask, pco, pxlo, prclTrg, pptlSrc, pptlMask, pbo, pptlBrush, rop4);
    513513    VBVA_OPERATION(psoTrg, BitBlt,
     
    537537
    538538BOOL APIENTRY
    539 VBoxDispDrvCopyBits(SURFOBJ *psoDest, SURFOBJ *psoSrc, CLIPOBJ *pco, XLATEOBJ *pxlo, 
     539VBoxDispDrvCopyBits(SURFOBJ *psoDest, SURFOBJ *psoSrc, CLIPOBJ *pco, XLATEOBJ *pxlo,
    540540                    RECTL *prclDest, POINTL *pptlSrc)
    541541{
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDriverDDraw.cpp

    r36867 r37423  
    6363/* Called to get supported DirectDraw caps */
    6464BOOL APIENTRY
    65 VBoxDispDrvGetDirectDrawInfo(DHPDEV dhpdev, DD_HALINFO *pHalInfo, DWORD *pdwNumHeaps, 
     65VBoxDispDrvGetDirectDrawInfo(DHPDEV dhpdev, DD_HALINFO *pHalInfo, DWORD *pdwNumHeaps,
    6666                             VIDEOMEMORY *pvmList, DWORD *pdwNumFourCCCodes, DWORD *pdwFourCC)
    6767{
     
    181181            pSurfaceCallBacks->dwFlags |= DDHAL_SURFCB32_UPDATEOVERLAY|DDHAL_SURFCB32_SETOVERLAYPOSITION;
    182182        }
    183     }   
     183    }
    184184#endif
    185185
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispMini.cpp

    r36867 r37423  
    5858
    5959    /* Allocate temp buffer */
    60     pMiniportModes = (PVIDEO_MODE_INFORMATION) 
     60    pMiniportModes = (PVIDEO_MODE_INFORMATION)
    6161                     EngAllocMem(0, numModes.NumModes*numModes.ModeInformationLength, MEM_ALLOC_TAG);
    6262
     
    7575        VBOX_CHECK_WINERR_RETRC(dwrc, VERR_DEV_IO_ERROR);
    7676    }
    77    
     77
    7878    /* Check which of miniport modes are supprted by display driver.
    7979     * Note: size of VIDEO_MODE_INFORMATION is returned by miniport driver in numModes.ModeInformationLength,
     
    111111
    112112    /* Allocate and zero output buffer */
    113     *ppModesTable = (PVIDEO_MODE_INFORMATION) 
     113    *ppModesTable = (PVIDEO_MODE_INFORMATION)
    114114                    EngAllocMem(FL_ZERO_MEMORY, cSupportedModes*sizeof(VIDEO_MODE_INFORMATION), MEM_ALLOC_TAG);
    115115
     
    121121    }
    122122
    123     /* Copy supported modes to output buffer */   
     123    /* Copy supported modes to output buffer */
    124124    pMode = pMiniportModes;
    125125    for (j=0, i=0; i<numModes.NumModes; ++i)
     
    238238
    239239    memset(pInfo, 0, sizeof(QUERYHGSMIRESULT));
    240     dwrc = EngDeviceIoControl(hDriver, IOCTL_VIDEO_QUERY_HGSMI_INFO, NULL, 0, 
     240    dwrc = EngDeviceIoControl(hDriver, IOCTL_VIDEO_QUERY_HGSMI_INFO, NULL, 0,
    241241                              pInfo, sizeof(QUERYHGSMIRESULT), &cbReturned);
    242242    VBOX_CHECK_WINERR_RETRC(dwrc, VERR_DEV_IO_ERROR);
     
    343343    Assert(pDev->pointer.pAttrs);
    344344
    345     dwrc = EngDeviceIoControl(pDev->hDriver, IOCTL_VIDEO_SET_POINTER_ATTR, pDev->pointer.pAttrs, pDev->pointer.cbAttrs, 
     345    dwrc = EngDeviceIoControl(pDev->hDriver, IOCTL_VIDEO_SET_POINTER_ATTR, pDev->pointer.pAttrs, pDev->pointer.cbAttrs,
    346346                              NULL, 0, &cbReturned);
    347347    VBOX_CHECK_WINERR_RETRC(dwrc, VERR_DEV_IO_ERROR);
     
    384384    LOGF_ENTER();
    385385
    386     dwrc = EngDeviceIoControl(hDriver, IOCTL_VIDEO_SHARE_VIDEO_MEMORY, pSMem, sizeof(VIDEO_SHARE_MEMORY), 
     386    dwrc = EngDeviceIoControl(hDriver, IOCTL_VIDEO_SHARE_VIDEO_MEMORY, pSMem, sizeof(VIDEO_SHARE_MEMORY),
    387387                              pSMemInfo, sizeof(VIDEO_SHARE_MEMORY_INFORMATION), &cbReturned);
    388388    VBOX_CHECK_WINERR_RETRC(dwrc, VERR_DEV_IO_ERROR);
    389     VBOX_WARN_IOCTLCB_RETRC("IOCTL_VIDEO_SHARE_VIDEO_MEMORY", cbReturned, 
     389    VBOX_WARN_IOCTLCB_RETRC("IOCTL_VIDEO_SHARE_VIDEO_MEMORY", cbReturned,
    390390                            sizeof(VIDEO_SHARE_MEMORY_INFORMATION), VERR_DEV_IO_ERROR);
    391391
     
    400400    LOGF_ENTER();
    401401
    402     dwrc = EngDeviceIoControl(hDriver, IOCTL_VIDEO_UNSHARE_VIDEO_MEMORY, pSMem, sizeof(VIDEO_SHARE_MEMORY), 
     402    dwrc = EngDeviceIoControl(hDriver, IOCTL_VIDEO_UNSHARE_VIDEO_MEMORY, pSMem, sizeof(VIDEO_SHARE_MEMORY),
    403403                              NULL, 0, &cbReturned);
    404404    VBOX_CHECK_WINERR_RETRC(dwrc, VERR_DEV_IO_ERROR);
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispMouse.cpp

    r36867 r37423  
    206206    {
    207207        LOG(("BMF_32BPP"));
    208         memcpy(psoRes->pvBits, psoBitmap->pvBits, min(psoRes->cjBits, psoBitmap->cjBits)); 
     208        memcpy(psoRes->pvBits, psoBitmap->pvBits, min(psoRes->cjBits, psoBitmap->cjBits));
    209209    }
    210210    else
     
    495495        pDev->pointer.pAttrs->Enable |= VBOX_MOUSE_POINTER_VISIBLE;
    496496    }
    497    
     497
    498498    if (fl & SPS_ALPHA)
    499499    {
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispVBVA.cpp

    r36867 r37423  
    323323    {
    324324        pDev->hgsmi.bSupported = TRUE;
    325    
     325
    326326        pDev->hgsmi.mp = callbacks;
    327327        pDev->vpAPI = portProcs;
     
    398398    }
    399399
    400     /* Setup HGSMI heap in the display information area. 
     400    /* Setup HGSMI heap in the display information area.
    401401     * The area has some space reserved for HGSMI event flags in the beginning.
    402402     */
     
    561561 */
    562562
    563 void vbvaDrvLineTo(SURFOBJ *pso, CLIPOBJ *pco, BRUSHOBJ *pbo, 
     563void vbvaDrvLineTo(SURFOBJ *pso, CLIPOBJ *pco, BRUSHOBJ *pbo,
    564564                   LONG x1, LONG y1, LONG x2, LONG y2, RECTL *prclBounds, MIX mix)
    565565{
     
    620620}
    621621
    622 void vbvaDrvCopyBits(SURFOBJ *psoDest, SURFOBJ *psoSrc, CLIPOBJ *pco, XLATEOBJ *pxlo, 
     622void vbvaDrvCopyBits(SURFOBJ *psoDest, SURFOBJ *psoSrc, CLIPOBJ *pco, XLATEOBJ *pxlo,
    623623                     RECTL *prclDest, POINTL *pptlSrc)
    624624{
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispVRDP.cpp

    r36867 r37423  
    929929 */
    930930
    931 void vrdpDrvLineTo(SURFOBJ *pso, CLIPOBJ *pco, BRUSHOBJ *pbo, 
     931void vrdpDrvLineTo(SURFOBJ *pso, CLIPOBJ *pco, BRUSHOBJ *pbo,
    932932                   LONG x1, LONG y1, LONG x2, LONG y2, RECTL *prclBounds, MIX mix)
    933933{
     
    12311231        WARN(("unsupported: pstro->pwszOrg=%p, prclExtra=%p, pfo->flFontType & FO_TYPE_RASTER = 0x%08X, "
    12321232              "pstro->cGlyphs = %d, pboOpaque->iSolidColor %p, pfo->iUniq = %p",
    1233               pstro->pwszOrg, prclExtra, pfo->flFontType & FO_TYPE_RASTER, pstro->cGlyphs, 
     1233              pstro->pwszOrg, prclExtra, pfo->flFontType & FO_TYPE_RASTER, pstro->cGlyphs,
    12341234              pboOpaque? pboOpaque->iSolidColor: 0, pfo->iUniq));
    12351235        vrdpReportDirtyRects(pDev, &clipRects);
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPVidModes.cpp

    r37207 r37423  
    3838
    3939/* Fills given video mode BPP related fields */
    40 static void 
    41 VBoxFillVidModeBPP(VIDEO_MODE_INFORMATION *pMode, ULONG bitsR, ULONG bitsG, ULONG bitsB, 
     40static void
     41VBoxFillVidModeBPP(VIDEO_MODE_INFORMATION *pMode, ULONG bitsR, ULONG bitsG, ULONG bitsB,
    4242                   ULONG maskR, ULONG maskG, ULONG maskB)
    4343{
     
    5151
    5252/* Fills given video mode structure */
    53 static void 
     53static void
    5454VBoxFillVidModeInfo(VIDEO_MODE_INFORMATION *pMode, ULONG xres, ULONG yres, ULONG bpp, ULONG index, ULONG yoffset)
    5555{
     
    327327    }
    328328
    329     /* Check registry for manually added modes, up to 128 entries is supported 
     329    /* Check registry for manually added modes, up to 128 entries is supported
    330330     * Give up on the first error encountered.
    331331     */
     
    537537    uint32_t xres=0, yres=0, bpp=0, display=0;
    538538
    539     /* Check if there's a pending display change request for this display */   
     539    /* Check if there's a pending display change request for this display */
    540540    if (VBoxQueryDisplayRequest(&xres, &yres, &bpp, &display) && (xres || yres || bpp))
    541541    {
     
    720720
    721721        /* Add special mode to the table
    722          * Note: Y offset isn't used for a host-supplied modes 
     722         * Note: Y offset isn't used for a host-supplied modes
    723723         */
    724724        specialMode.ModeIndex = g_NumVideoModes+1;
     
    728728        /* Save special mode in the custom modes table */
    729729        memcpy(&g_CustomVideoModes[pExt->iDevice], &specialMode, sizeof(VIDEO_MODE_INFORMATION));
    730                    
    731        
     730
     731
    732732        /* Make sure we've added 2nd mode if necessary to maintain table size */
    733733        if (VBoxMPIsStartingUp(pExt, pExt->iDevice))
     
    793793
    794794static void
    795 VBoxWddmBuildResolutionTable(PVIDEO_MODE_INFORMATION pModesTable, size_t tableSize, 
     795VBoxWddmBuildResolutionTable(PVIDEO_MODE_INFORMATION pModesTable, size_t tableSize,
    796796                             SIZE *pResolutions, uint32_t * pcResolutions)
    797797{
     
    836836static void
    837837VBoxWddmBuildVideoModesInfo(PVBOXMP_DEVEXT pExt, D3DDDI_VIDEO_PRESENT_TARGET_ID VidPnTargetId,
    838                             PVBOXWDDM_VIDEOMODES_INFO pModes, VIDEO_MODE_INFORMATION *paAddlModes, 
     838                            PVBOXWDDM_VIDEOMODES_INFO pModes, VIDEO_MODE_INFORMATION *paAddlModes,
    839839                            UINT cAddlModes)
    840840{
     
    897897        UINT bpp=8;
    898898#else
    899         UINT bpp=16;   
     899        UINT bpp=16;
    900900#endif
    901901            for (; bpp<=32; bpp+=8)
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPIOCTL.cpp

    r36867 r37423  
    8181    pMapInfo->VideoRamLength = pExt->pPrimary->u.primary.ulMaxFrameBufferSize;
    8282
    83     pStatus->Status = VideoPortMapMemory(pExt, framebuffer, &pMapInfo->VideoRamLength, 
     83    pStatus->Status = VideoPortMapMemory(pExt, framebuffer, &pMapInfo->VideoRamLength,
    8484                                         &inIoSpace, &pMapInfo->VideoRamBase);
    8585
     
    157157        pStatus->Information = sizeof(VIDEO_SHARE_MEMORY_INFORMATION);
    158158    }
    159    
     159
    160160    VBOXMPIOCTL_UNHIDE();
    161161    LOGF_LEAVE();
     
    200200    }
    201201
    202     LOG(("width %d, height %d, bpp %d", 
     202    LOG(("width %d, height %d, bpp %d",
    203203         pModeInfo->VisScreenWidth, pModeInfo->VisScreenHeight, pModeInfo->BitsPerPlane));
    204204
     
    216216
    217217    /* Perform actual mode switch */
    218     VBoxVideoSetModeRegisters((USHORT)pModeInfo->VisScreenWidth, (USHORT)pModeInfo->VisScreenHeight, 
     218    VBoxVideoSetModeRegisters((USHORT)pModeInfo->VisScreenWidth, (USHORT)pModeInfo->VisScreenHeight,
    219219                              (USHORT)pModeInfo->VisScreenWidth, (USHORT)pModeInfo->BitsPerPlane, 0, 0, 0);
    220220
     
    241241
    242242/* Called for IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES.
    243  * Returns count of supported video modes and structure size in bytes, 
     243 * Returns count of supported video modes and structure size in bytes,
    244244 * used by the following IOCTL_VIDEO_QUERY_AVAIL_MODES.
    245245 */
     
    342342
    343343            /* Visible and No Shape means show the pointer, 0 means hide pointer.
    344              * It's enough to init only this field. 
     344             * It's enough to init only this field.
    345345             */
    346346            attrs.Enable = bEnable ? VBOX_MOUSE_POINTER_VISIBLE:0;
     
    612612        bRC=FALSE;
    613613    }
    614    
     614
    615615    LOGF_LEAVE();
    616616    return bRC;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPInternal.cpp

    r36867 r37423  
    112112{
    113113    LOGF_ENTER();
    114    
     114
    115115    PVBOXMP_COMMON pCommon = VBoxCommonFromDeviceExt(pExt);
    116116    VBOXVIDEOPORTPROCS *pAPI = &pExt->u.primary.VideoPortProcs;
     
    315315        VbglGRFree(&req->header);
    316316    }
    317     else 
     317    else
    318318    {
    319319        WARN(("VbglGRAlloc(VMMDevVideoAccelEnable) rc = %#xrc", rc));
     
    431431    }
    432432
    433     WARN(("Failed to allocate %d bytes", size));   
     433    WARN(("Failed to allocate %d bytes", size));
    434434    return VERR_GENERAL_FAILURE;
    435435}
     
    445445    PVBOXMP_DEVEXT pExt = VBoxCommonToPrimaryExt(pCommon);
    446446    PEVENT pEvent = (PEVENT)pvEvent;
    447     pExt->u.primary.VideoPortProcs.pfnSetEvent(pExt, pEvent);   
     447    pExt->u.primary.VideoPortProcs.pfnSetEvent(pExt, pEvent);
    448448}
    449449
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPVideoPortAPI.cpp

    r36896 r37423  
    6464}
    6565
    66 static BOOLEAN 
     66static BOOLEAN
    6767vboxQueueDpcVoid(IN PVOID  HwDeviceExtension, IN PMINIPORT_DPC_ROUTINE  CallbackRoutine, IN PVOID  Context)
    6868{
  • trunk/src/VBox/Additions/WINNT/Mouse/NT5/VBoxMF.h

    r37225 r37423  
    3636#define IOCTL_INTERNAL_MOUSE_CONNECT CTL_CODE(FILE_DEVICE_MOUSE, 0x0080, METHOD_NEITHER, FILE_ANY_ACCESS)
    3737
    38 typedef VOID (*PFNSERVICECB)(PDEVICE_OBJECT DeviceObject, PMOUSE_INPUT_DATA InputDataStart, 
     38typedef VOID (*PFNSERVICECB)(PDEVICE_OBJECT DeviceObject, PMOUSE_INPUT_DATA InputDataStart,
    3939                             PMOUSE_INPUT_DATA InputDataEnd, PULONG InputDataConsumed);
    4040
  • trunk/src/VBox/Additions/WINNT/Mouse/NT5/VBoxMFDriver.cpp

    r37225 r37423  
    145145
    146146static void
    147 VBoxServiceCB(PDEVICE_OBJECT DeviceObject, PMOUSE_INPUT_DATA InputDataStart, 
     147VBoxServiceCB(PDEVICE_OBJECT DeviceObject, PMOUSE_INPUT_DATA InputDataStart,
    148148              PMOUSE_INPUT_DATA InputDataEnd, PULONG InputDataConsumed)
    149149{
  • trunk/src/VBox/Additions/WINNT/Mouse/NT5/VBoxMFInternal.cpp

    r37226 r37423  
    366366
    367367        LOG(("Number of descriptors: %d", pResourceList->Count));
    368        
     368
    369369        /* Check if device claims IO port 0x60 or int12 */
    370370        for (ULONG i=0; i<pResourceList->Count; ++i)
     
    429429{
    430430    LOGF_ENTER();
    431    
     431
    432432    if (!vboxIsVBGLInited())
    433433    {
     
    486486        }
    487487    }
    488    
     488
    489489    LOGF_LEAVE();
    490490}
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp

    r37422 r37423  
    524524    if (ghSeamlessNotifyEvent)
    525525    {
    526         CloseHandle(ghSeamlessNotifyEvent);
     526        CloseHandle(ghSeamlessNotifyEvent);
    527527        ghSeamlessNotifyEvent = NULL;
    528528    }
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win-pnp.cpp

    r37291 r37423  
    209209            VBOXGUEST_UPDATE_DEVSTATE(pDevExt, SURPRISEREMOVED);
    210210
    211             /* Do nothing here actually. Cleanup is done in IRP_MN_REMOVE_DEVICE. 
     211            /* Do nothing here actually. Cleanup is done in IRP_MN_REMOVE_DEVICE.
    212212             * This request is not expected for VBoxGuest.
    213213             */
  • trunk/src/VBox/Additions/solaris/Installer/postinstall.sh

    r37372 r37423  
    5454    # VBox Xorg Video drivers
    5555    uncompress_file "$1" "vboxvideo_drv_13.so"
    56     uncompress_file "$1" "vboxvideo_drv_14.so" 
    57     uncompress_file "$1" "vboxvideo_drv_15.so" 
    58     uncompress_file "$1" "vboxvideo_drv_16.so" 
    59     uncompress_file "$1" "vboxvideo_drv_17.so" 
    60     uncompress_file "$1" "vboxvideo_drv_18.so" 
    61     uncompress_file "$1" "vboxvideo_drv_19.so" 
     56    uncompress_file "$1" "vboxvideo_drv_14.so"
     57    uncompress_file "$1" "vboxvideo_drv_15.so"
     58    uncompress_file "$1" "vboxvideo_drv_16.so"
     59    uncompress_file "$1" "vboxvideo_drv_17.so"
     60    uncompress_file "$1" "vboxvideo_drv_18.so"
     61    uncompress_file "$1" "vboxvideo_drv_19.so"
    6262    uncompress_file "$1" "vboxvideo_drv_110.so"
    63     uncompress_file "$1" "vboxvideo_drv_70.so" 
    64     uncompress_file "$1" "vboxvideo_drv_71.so" 
     63    uncompress_file "$1" "vboxvideo_drv_70.so"
     64    uncompress_file "$1" "vboxvideo_drv_71.so"
    6565
    6666    # VBox Xorg Mouse drivers
    67     uncompress_file "$1" "vboxmouse_drv_13.so" 
    68     uncompress_file "$1" "vboxmouse_drv_14.so" 
    69     uncompress_file "$1" "vboxmouse_drv_15.so" 
    70     uncompress_file "$1" "vboxmouse_drv_16.so" 
    71     uncompress_file "$1" "vboxmouse_drv_17.so" 
    72     uncompress_file "$1" "vboxmouse_drv_18.so" 
    73     uncompress_file "$1" "vboxmouse_drv_19.so" 
     67    uncompress_file "$1" "vboxmouse_drv_13.so"
     68    uncompress_file "$1" "vboxmouse_drv_14.so"
     69    uncompress_file "$1" "vboxmouse_drv_15.so"
     70    uncompress_file "$1" "vboxmouse_drv_16.so"
     71    uncompress_file "$1" "vboxmouse_drv_17.so"
     72    uncompress_file "$1" "vboxmouse_drv_18.so"
     73    uncompress_file "$1" "vboxmouse_drv_19.so"
    7474    uncompress_file "$1" "vboxmouse_drv_110.so"
    7575    uncompress_file "$1" "vboxmouse_drv_70.so"
  • trunk/src/VBox/Additions/solaris/SharedFolders/Makefile.kmk

    r36195 r37423  
    4646        vboxfs_prov.c
    4747vboxfs_LIBS          = \
    48         $(VBOX_LIB_VBGL_R0) 
     48        $(VBOX_LIB_VBGL_R0)
    4949vboxfs_LDFLAGS      += -N drv/vboxguest
    5050
  • trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.cpp

    r37173 r37423  
    453453        {
    454454            RTRECT *pRect;
    455            
     455
    456456            pRect = RectListPushBack(pRects);
    457457            if (!pRect)
  • trunk/src/VBox/Additions/x11/VBoxClient/vector.h

    r36805 r37423  
    3333 *   RTVEC_DECL(TopLevels, Window *)
    3434 * without a semi-colon.  This macro will define a structure (struct TopLevels)
    35  * which contains a dynamically resizeable array of Window * elements.  It 
     35 * which contains a dynamically resizeable array of Window * elements.  It
    3636 * will also define a number of inline methods for manipulating the structure,
    3737 * such as
     
    3939 * which adds a new element to the end of the array and returns it, optionally
    4040 * reallocating the array if there is not enough space for the new element.
    41  * (This particular method prototype differs from the STL equivalent - 
     41 * (This particular method prototype differs from the STL equivalent -
    4242 * push_back - more than most of the other methods).
    43  * 
     43 *
    4444 * To create a vector, one simply needs to declare the structure, in this case
    4545 *   struct TopLevels = RTVEC_INITIALIZER;
     
    5959 *       compiler makes its own decisions about whether to actually
    6060 *       inline a function.
    61  * @note since vector structures must be explicitly instanciated unlike the 
     61 * @note since vector structures must be explicitly instanciated unlike the
    6262 *       C++ vector template, care must be taken not to instanciate a
    6363 *       particular type twice, e.g. once in a header and once in a code file.
     
    138138}
    139139
    140 /** 
     140/**
    141141 * Generic method - return a pointer to one past the last element in the
    142142 * vector.
     
    196196}
    197197
    198 /** 
     198/**
    199199 * Generic method - reset a vector to empty.
    200200 * @note This function does not free any memory
     
    226226}
    227227
    228 /** 
     228/**
    229229 * Generic method - detach the array contained inside a vector and reset the
    230230 * vector to empty.
  • trunk/src/VBox/Additions/x11/vboxmouse/vboxmouse_15.c

    r35840 r37423  
    136136# if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 12
    137137                               , Absolute
    138 # endif                               
     138# endif
    139139                               );
    140140
     
    147147# if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 12
    148148                               , Absolute
    149 # endif                               
     149# endif
    150150                               );
    151151#endif
  • trunk/src/VBox/Additions/x11/vboxvideo/testcase/tstSetModeXOrg.c

    r36020 r37423  
    7474}
    7575
    76 static struct 
     76static struct
    7777{
    7878    PHGSMIGUESTCOMMANDCONTEXT pCtx;
  • trunk/src/VBox/Debugger/DBGCBuiltInSymbols.cpp

    r35628 r37423  
    3939}
    4040
    41 
  • trunk/src/VBox/Devices/Bus/MsixCommon.cpp

    r36663 r37423  
    170170    Assert(!pciDevIsPassthrough(pDev));
    171171
    172     uint16_t   cVectors    = pMsiReg->cMsixVectors;   
     172    uint16_t   cVectors    = pMsiReg->cMsixVectors;
    173173    uint8_t    iCapOffset  = pMsiReg->iMsixCapOffset;
    174174    uint8_t    iNextOffset = pMsiReg->iMsixNextOffset;
  • trunk/src/VBox/Devices/Bus/PCIInternal.h

    r36562 r37423  
    9191    /** Flag whether the device is capable of MSI using 64-bit address.  */
    9292    PCIDEV_FLAG_MSI64_CAPABLE      = 1<<6
    93    
     93
    9494};
    9595
  • trunk/src/VBox/Devices/Network/slirp/socket.c

    r35923 r37423  
    921921    /* Don't care what port we get */
    922922    /*
    923      * > nmap -sV -T4 -O -A -v -PU3483 255.255.255.255 
     923     * > nmap -sV -T4 -O -A -v -PU3483 255.255.255.255
    924924     * generates bodyless messages, annoying memmory management system.
    925925     */
  • trunk/src/VBox/Devices/PC/DevDMA.cpp

    r36228 r37423  
    7171 * left by one, including the control registers addresses. The DMA register
    7272 * offsets (except for the page registers) are therefore "double spaced".
    73  * 
     73 *
    7474 * Due to the address shifting, the DMA controller decodes more addresses
    7575 * than are usually documented, with aliasing. See the ICH8 datasheet.
     
    418418        return VINF_SUCCESS;
    419419    }
    420     else 
     420    else
    421421        return VERR_IOM_IOPORT_UNUSED;
    422422}
    423423
    424 /* DMA page registers. There are 16 R/W page registers for compatibility with 
     424/* DMA page registers. There are 16 R/W page registers for compatibility with
    425425 * the IBM PC/AT; only some of those registers are used for DMA. The page register
    426426 * accessible via port 80h may be read to insert small delays or used as a scratch
     
    430430                                     uint32_t *pu32, unsigned cb)
    431431{
    432     if (cb == 1) 
     432    if (cb == 1)
    433433    {
    434434        DMAControl  *dc = (DMAControl *)pvUser;
     
    437437        reg   = port & 7;
    438438        *pu32 = dc->au8Page[reg];
    439         Log2(("Read %#x to from page register %#x (channel %d)\n", 
     439        Log2(("Read %#x to from page register %#x (channel %d)\n",
    440440              *pu32, port, DMAPG2CX(reg)));
    441441        return VINF_SUCCESS;
     
    475475                                       uint32_t *pu32, unsigned cb)
    476476{
    477     if (cb == 1) 
     477    if (cb == 1)
    478478    {
    479479        DMAControl  *dc = (DMAControl *)pvUser;
     
    482482        reg   = port & 7;
    483483        *pu32 = dc->au8PageHi[reg];
    484         Log2(("Read %#x to from high page register %#x (channel %d)\n", 
     484        Log2(("Read %#x to from high page register %#x (channel %d)\n",
    485485              *pu32, port, DMAPG2CX(reg)));
    486486        return VINF_SUCCESS;
     
    501501        reg = port & 7;
    502502        dc->au8PageHi[reg] = u32;
    503         Log2(("Wrote %#x to high page register %#x (channel %d)\n", 
     503        Log2(("Wrote %#x to high page register %#x (channel %d)\n",
    504504              u32, port, DMAPG2CX(reg)));
    505505    }
     
    563563                        PFNDMATRANSFERHANDLER handler, void *pvUser)
    564564{
    565     DMAState    *s = PDMINS_2_DATA(pDevIns, DMAState *);   
     565    DMAState    *s = PDMINS_2_DATA(pDevIns, DMAState *);
    566566    DMAChannel  *ch = &s->DMAC[DMACH2C(channel)].ChState[channel & 3];
    567567
     
    682682
    683683    chidx  = channel & 3;
    684     if (level) 
     684    if (level)
    685685        dc->u8Status |= 1 << (chidx + 4);
    686686    else
     
    764764
    765765    /* ...and all four of its channels. */
    766     for (chidx = 0; chidx < 4; ++chidx) 
     766    for (chidx = 0; chidx < 4; ++chidx)
    767767    {
    768768        DMAChannel  *ch = &dc->ChState[chidx];
     
    796796    }
    797797
    798     for (chidx = 0; chidx < 4; ++chidx) 
     798    for (chidx = 0; chidx < 4; ++chidx)
    799799    {
    800800        DMAChannel  *ch = &dc->ChState[chidx];
  • trunk/src/VBox/Devices/PC/DevPIC.cpp

    r37159 r37423  
    786786                        pPic->poll, pPic->special_mask, pPic->init_state);
    787787        pHlp->pfnPrintf(pHlp, " AEOI:%02x Rotate:%02x FNest :%02x Ini4:%02x\n",
    788                         pPic->auto_eoi, pPic->rotate_on_auto_eoi, 
     788                        pPic->auto_eoi, pPic->rotate_on_auto_eoi,
    789789                        pPic->special_fully_nested_mode, pPic->init4);
    790790        pHlp->pfnPrintf(pHlp, " ELCR:%02x ELMask:%02x\n", pPic->elcr, pPic->elcr_mask);
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r35741 r37423  
    717717
    718718
    719 #ifdef RT_OS_WINDOWS 
     719#ifdef RT_OS_WINDOWS
    720720// Required for ATL
    721721static CComModule _Module;
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.cpp

    r35638 r37423  
    9494    QPainter painter(m_pMachineView->viewport());
    9595
    96    
     96
    9797    if ((ulong)r.width() < m_width * 2 / 3)
    9898    {
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r37367 r37423  
    13581358                return true;
    13591359    }
    1360    
     1360
    13611361    /* This must come before host key handling */
    13621362    keyEventHandleCapturing(uScan, fFlags, uScreenId);
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMListView.cpp

    r35796 r37423  
    599599    p.setFont(font());
    600600    p.drawText(QRect(margin, margin + osTypeSize.height() + space,  s.width() - 2 * margin, nameSize.height()), Qt::AlignCenter, name);
    601         /* Transparent icons are not supported on all platforms. */
     601    /* Transparent icons are not supported on all platforms. */
    602602#if defined(Q_WS_MAC) || defined(Q_WS_WIN)
    603603    p.setCompositionMode(QPainter::CompositionMode_DestinationIn);
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp

    r35824 r37423  
    354354            PVBOXNETADP pNew;
    355355            Log(("VBoxNetAdpDarwinIOCtl: szName=%s\n", pReq->szName));
    356             rc = vboxNetAdpCreate(&pNew, 
     356            rc = vboxNetAdpCreate(&pNew,
    357357                                  pReq->szName[0] && RTStrEnd(pReq->szName, RT_MIN(cbReq, sizeof(pReq->szName))) ?
    358358                                  pReq->szName : NULL);
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c

    r36385 r37423  
    8484
    8585/** Netgraph node type */
    86 #define NG_VBOXNETFLT_NODE_TYPE    "vboxnetflt"
     86#define NG_VBOXNETFLT_NODE_TYPE     "vboxnetflt"
    8787/** Netgraph message cookie */
    88 #define NGM_VBOXNETFLT_COOKIE    0x56424f58
     88#define NGM_VBOXNETFLT_COOKIE       0x56424f58
    8989
    9090/** Input netgraph hook name */
    91 #define NG_VBOXNETFLT_HOOK_IN    "input"
     91#define NG_VBOXNETFLT_HOOK_IN       "input"
    9292/** Output netgraph hook name */
    93 #define NG_VBOXNETFLT_HOOK_OUT    "output"
     93#define NG_VBOXNETFLT_HOOK_OUT      "output"
    9494
    9595/** mbuf tag identifier */
    96 #define MTAG_VBOX        0x56424f58
     96#define MTAG_VBOX                   0x56424f58
    9797/** mbuf packet tag */
    98 #define PACKET_TAG_VBOX        128
     98#define PACKET_TAG_VBOX             128
    9999
    100100#if defined(__FreeBSD_version) && __FreeBSD_version >= 800500
     
    102102# include <net/vnet.h>
    103103
    104 # define VBOXCURVNET_SET(arg)           CURVNET_SET_QUIET(arg)
    105 # define VBOXCURVNET_SET_FROM_UCRED()   VBOXCURVNET_SET(CRED_TO_VNET(curthread->td_ucred))
    106 # define VBOXCURVNET_RESTORE()          CURVNET_RESTORE()
     104# define VBOXCURVNET_SET(arg)           CURVNET_SET_QUIET(arg)
     105# define VBOXCURVNET_SET_FROM_UCRED()   VBOXCURVNET_SET(CRED_TO_VNET(curthread->td_ucred))
     106# define VBOXCURVNET_RESTORE()          CURVNET_RESTORE()
    107107
    108108#else /* !defined(__FreeBSD_version) || __FreeBSD_version < 800500 */
     
    128128static struct ng_type ng_vboxnetflt_typestruct =
    129129{
    130     .version =    NG_ABI_VERSION,
    131     .name =        NG_VBOXNETFLT_NODE_TYPE,
    132     .mod_event =    vboxnetflt_modevent,
    133     .constructor =    ng_vboxnetflt_constructor,
    134     .rcvmsg =    ng_vboxnetflt_rcvmsg,
    135     .shutdown =    ng_vboxnetflt_shutdown,
    136     .newhook =    ng_vboxnetflt_newhook,
    137     .rcvdata =    ng_vboxnetflt_rcvdata,
    138     .disconnect =     ng_vboxnetflt_disconnect,
    139     .cmdlist =    ng_vboxnetflt_cmdlist,
     130    .version    = NG_ABI_VERSION,
     131    .name       = NG_VBOXNETFLT_NODE_TYPE,
     132    .mod_event  = vboxnetflt_modevent,
     133    .constructor= ng_vboxnetflt_constructor,
     134    .rcvmsg     = ng_vboxnetflt_rcvmsg,
     135    .shutdown   = ng_vboxnetflt_shutdown,
     136    .newhook    = ng_vboxnetflt_newhook,
     137    .rcvdata    = ng_vboxnetflt_rcvdata,
     138    .disconnect = ng_vboxnetflt_disconnect,
     139    .cmdlist    = ng_vboxnetflt_cmdlist,
    140140};
    141141NETGRAPH_INIT(vboxnetflt, &ng_vboxnetflt_typestruct);
  • trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c

    r36717 r37423  
    7474    return NULL;
    7575}
    76 DECLINLINE(int) vboxPciDevLock(PVBOXRAWPCIINS pThis, 
     76DECLINLINE(int) vboxPciDevLock(PVBOXRAWPCIINS pThis,
    7777                               PRTSPINLOCKTMP pTmp)
    7878{
     
    8080    RTSpinlockAcquireNoInts(pThis->hSpinlock, pTmp);
    8181    return VINF_SUCCESS;
    82 #else   
     82#else
    8383    int rc = RTSemFastMutexRequest(pThis->hFastMtx);
    8484
     
    261261                                                 uint64_t       *pu64RegionSize,
    262262                                                 bool           *pfPresent,
    263                                                 uint32_t        *pfFlags)
     263                                                uint32_t        *pfFlags)
    264264{
    265265    PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort);
     
    284284                                             RTHCPHYS       RegionStart,
    285285                                             uint64_t       u64RegionSize,
    286                                              int32_t        fFlags,
    287                                              RTR0PTR        *pRegionBase)
     286                                             int32_t        fFlags,
     287                                             RTR0PTR        *pRegionBase)
    288288{
    289289    PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort);
     
    307307                                               RTHCPHYS       RegionStart,
    308308                                               uint64_t       u64RegionSize,
    309                                                RTR0PTR        RegionBase)
     309                                               RTR0PTR        RegionBase)
    310310{
    311311    PVBOXRAWPCIINS pThis = DEVPORT_2_VBOXRAWPCIINS(pPort);
     
    325325 * @copydoc RAWPCIDEVPORT:: pfnPciCfgRead
    326326 */
    327 static DECLCALLBACK(int) vboxPciDevPciCfgRead(PRAWPCIDEVPORT pPort, 
    328                                               uint32_t       Register, 
     327static DECLCALLBACK(int) vboxPciDevPciCfgRead(PRAWPCIDEVPORT pPort,
     328                                              uint32_t       Register,
    329329                                              PCIRAWMEMLOC   *pValue)
    330330{
     
    345345 * @copydoc RAWPCIDEVPORT:: pfnPciCfgWrite
    346346 */
    347 static DECLCALLBACK(int) vboxPciDevPciCfgWrite(PRAWPCIDEVPORT pPort, 
    348                                                uint32_t       Register, 
     347static DECLCALLBACK(int) vboxPciDevPciCfgWrite(PRAWPCIDEVPORT pPort,
     348                                               uint32_t       Register,
    349349                                               PCIRAWMEMLOC   *pValue)
    350350{
     
    362362}
    363363
    364 static DECLCALLBACK(int) vboxPciDevRegisterIrqHandler(PRAWPCIDEVPORT  pPort, 
    365                                                       PFNRAWPCIISR    pfnHandler, 
    366                                                       void*           pIrqContext, 
     364static DECLCALLBACK(int) vboxPciDevRegisterIrqHandler(PRAWPCIDEVPORT  pPort,
     365                                                      PFNRAWPCIISR    pfnHandler,
     366                                                      void*           pIrqContext,
    367367                                                      PCIRAWISRHANDLE *phIsr)
    368368{
     
    398398}
    399399
    400 static DECLCALLBACK(int) vboxPciDevUnregisterIrqHandler(PRAWPCIDEVPORT  pPort, 
     400static DECLCALLBACK(int) vboxPciDevUnregisterIrqHandler(PRAWPCIDEVPORT  pPort,
    401401                                                        PCIRAWISRHANDLE hIsr)
    402402{
     
    422422}
    423423
    424 static DECLCALLBACK(int) vboxPciDevPowerStateChange(PRAWPCIDEVPORT    pPort, 
    425                                                     PCIRAWPOWERSTATE  aState, 
     424static DECLCALLBACK(int) vboxPciDevPowerStateChange(PRAWPCIDEVPORT    pPort,
     425                                                    PCIRAWPOWERSTATE  aState,
    426426                                                    uint64_t          *pu64Param)
    427427{
  • trunk/src/VBox/HostDrivers/VBoxPci/VBoxPciInternal.h

    r37009 r37423  
    4444typedef struct VBOXRAWPCIINS     *PVBOXRAWPCIINS;
    4545
    46 typedef struct VBOXRAWPCIISRDESC 
     46typedef struct VBOXRAWPCIISRDESC
    4747{
    4848    /** Handler function. */
  • trunk/src/VBox/HostDrivers/VBoxUSB/Makefile.kmk

    r36959 r37423  
    3535USBLib_DEFS           = IN_USBLIB
    3636USBLib_DEFS.os2       = STATIC_USBCALLS
    37 USBLib_DEFS.win       = _WIN32_WINNT=0x0500 
     37USBLib_DEFS.win       = _WIN32_WINNT=0x0500
    3838USBLib_SOURCES        = \
    3939        USBLib.cpp \
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/Makefile.kmk

    r36941 r37423  
    102102        $(PATH_LIB)/SUPR3$(VBOX_SUFF_LIB) \
    103103        $(TARGET_VBoxDrvCfg)
    104        
     104
    105105
    106106#
     
    135135        $(PATH_LIB)/SUPR3$(VBOX_SUFF_LIB) \
    136136        $(TARGET_VBoxDrvCfg)
    137        
     137
    138138#
    139139# Install the INF files.
  • trunk/src/VBox/Installer/linux/installer-utils.sh

    r37124 r37423  
    9898                ;;
    9999            esac
    100                
     100
    101101        fi
    102102        ;;
  • trunk/src/VBox/Installer/solaris/vboxconfig.sh

    r37371 r37423  
    757757postinstall()
    758758{
    759     infoprint "Detected Solaris $HOST_OS_MAJORVERSION Version $HOST_OS_MINORVERSION" 
     759    infoprint "Detected Solaris $HOST_OS_MAJORVERSION Version $HOST_OS_MINORVERSION"
    760760    infoprint "Loading VirtualBox kernel modules..."
    761761    install_drivers
  • trunk/src/VBox/Main/include/VirtualBoxBase.h

    r36451 r37423  
    658658#ifdef RT_OS_WINDOWS
    659659        return CoCreateFreeThreadedMarshaler(this, //GetControllingUnknown(),
    660                                              &m_pUnkMarshaler.p);
     660                                             &m_pUnkMarshaler.p);
    661661#else
    662662        return S_OK;
  • trunk/src/VBox/Main/src-client/BusAssignmentManager.cpp

    r36630 r37423  
    406406        dev.createObject();
    407407        com::Bstr devname(it->second.szDevName);
    408         dev->init(NULL, devname, 
    409                   it->second.HostAddress.valid() ? it->second.HostAddress.asLong() : -1, 
     408        dev->init(NULL, devname,
     409                  it->second.HostAddress.valid() ? it->second.HostAddress.asLong() : -1,
    410410                  it->first.asLong(), it->second.HostAddress.valid());
    411411        result.setElement(iIndex++, dev);
  • trunk/src/VBox/Main/src-client/SessionImpl.cpp

    r36991 r37423  
    5858
    5959    HRESULT rc = init();
    60    
    61     BaseFinalConstruct(); 
    62  
     60
     61    BaseFinalConstruct();
     62
    6363    return rc;
    6464}
     
    6969
    7070    uninit();
    71      
     71
    7272    BaseFinalRelease();
    7373}
     
    190190       rc = mConsole->machine().queryInterfaceTo(aMachine);
    191191    else
    192        rc = mRemoteMachine.queryInterfaceTo(aMachine);   
     192       rc = mRemoteMachine.queryInterfaceTo(aMachine);
    193193    if (FAILED(rc))
    194194    {
  • trunk/src/VBox/Main/src-server/GuestOSTypeImpl.cpp

    r35638 r37423  
    5252{
    5353    uninit();
    54    
     54
    5555    BaseFinalRelease();
    5656}
  • trunk/src/VBox/Main/src-server/MediumFormatImpl.cpp

    r35638 r37423  
    3838{
    3939    uninit();
    40    
     40
    4141    BaseFinalRelease();
    4242}
  • trunk/src/VBox/Main/src-server/PerformanceImpl.cpp

    r36842 r37423  
    217217    BaseMetricList::iterator it;
    218218    for (it = m.baseMetrics.begin(); it != m.baseMetrics.end();)
    219         if ((*it)->isUnregistered())
    220         {
    221             delete *it;
    222             it = m.baseMetrics.erase(it);
    223         }
    224         else
    225             ++it;
     219        if ((*it)->isUnregistered())
     220        {
     221            delete *it;
     222            it = m.baseMetrics.erase(it);
     223        }
     224        else
     225            ++it;
    226226    Assert(m.baseMetrics.size() == 0);
    227227    /*
  • trunk/src/VBox/Main/src-server/SystemPropertiesImpl.cpp

    r35817 r37423  
    357357    switch (aType)
    358358    {
    359         case NetworkAttachmentType_NAT:       
     359        case NetworkAttachmentType_NAT:
    360360        case NetworkAttachmentType_Internal:
    361361            /* chipset default is OK */
  • trunk/src/VBox/Main/src-server/generic/NetIf-generic.cpp

    r35785 r37423  
    128128
    129129int NetIfCreateHostOnlyNetworkInterface(VirtualBox *pVBox,
    130                                         IHostNetworkInterface **aHostNetworkInterface, 
     130                                        IHostNetworkInterface **aHostNetworkInterface,
    131131                                        IProgress **aProgress,
    132132                                        const char *pcszName)
  • trunk/src/VBox/Main/testcase/tstHostHardwareLinux.cpp

    r36958 r37423  
    6464    while (pDevice)
    6565    {
    66         const char *pcszState = 
     66        const char *pcszState =
    6767              pDevice->enmState == USBDEVICESTATE_UNSUPPORTED   ? "UNSUPPORTED"
    6868            : pDevice->enmState == USBDEVICESTATE_USED_BY_HOST  ? "USED_BY_HOST"
  • trunk/src/VBox/Main/testcase/tstUSBProxyLinux.cpp

    r37086 r37423  
    7373}
    7474
    75 static struct 
     75static struct
    7676{
    7777    const char *pcszEnvUsb;
     
    163163}
    164164
    165 static struct 
     165static struct
    166166{
    167167    const char *pacszDeviceAddresses[16];
  • trunk/src/VBox/Runtime/common/dvm/dvmbsdlabel.cpp

    r37270 r37423  
    480480}
    481481
    482 DECLHIDDEN(RTDVMFMTOPS) g_rtDvmFmtBsdLbl = 
     482DECLHIDDEN(RTDVMFMTOPS) g_rtDvmFmtBsdLbl =
    483483{
    484484    /* pcszFmt */
  • trunk/src/VBox/Runtime/r0drv/solaris/modulestub-r0drv-solaris.c

    r37228 r37423  
    5454}
    5555
    56 
  • trunk/src/VBox/Runtime/r3/win/dllmain-win.cpp

    r36362 r37423  
    4444    {
    4545        /*
    46          * When attaching to a process, we'd like to make sure IPRT stays put 
     46         * When attaching to a process, we'd like to make sure IPRT stays put
    4747         * and doesn't get unloaded.
    4848         */
  • trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp

    r36794 r37423  
    19001900}
    19011901
    1902 
    19031902#ifndef IN_RC
     1903
    19041904/**
    19051905 * Mapping an MMIO2 page in place of an MMIO page for direct access.
     
    19691969}
    19701970
     1971
    19711972/**
    19721973 * Mapping a HC page in place of an MMIO page for direct access.
     
    20232024    return VINF_SUCCESS;
    20242025}
     2026
    20252027
    20262028/**
     
    20832085    return rc;
    20842086}
     2087
    20852088#endif /* !IN_RC */
    20862089
  • trunk/src/VBox/VMM/include/IEMInternal.h

    r37232 r37423  
    10031003#endif
    10041004
    1005 
Note: See TracChangeset for help on using the changeset viewer.

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