VirtualBox

Changeset 27129 in vbox


Ignore:
Timestamp:
Mar 6, 2010 12:16:08 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58465
Message:

scm cleaned up some whitespace.

Location:
trunk
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/pipe.h

    r26824 r27129  
    185185#endif
    186186
    187 
  • trunk/src/VBox/Additions/WINNT/Graphics/Makefile.kmk

    r26976 r27129  
    6868        $(call MSG_TOOL,Inf2Cat,VBoxVideo-inf,$@,$<)
    6969        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
    70        
     70
    7171ifdef VBOXWDDM
    7272VBOXWDDM_WITH_DISPD3D = 1
     
    9393 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D64.dll
    9494endif
    95    
     95
    9696endif # signing
    9797VBoxVideoWddm-inf_CLEAN = $(VBoxVideoWddm-inf_SOURCES)
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Makefile.kmk

    r26928 r27129  
    8787 endif
    8888 VBoxVideoWddm_DEFS       += LOG_ENABLED
    89  #VBoxVideoWddm_DEFS       += LOG_TO_BACKDOOR 
     89 #VBoxVideoWddm_DEFS       += LOG_TO_BACKDOOR
    9090 VBoxVideoWddm_INCS       += ../../include
    9191 VBoxVideoWddm_LDFLAGS.x86 += /Entry:DriverEntry@8
  • trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHostHlp.cpp

    r26876 r27129  
    8383}
    8484
    85 
  • trunk/src/VBox/Devices/Input/UsbKbd.cpp

    r26966 r27129  
    384384};
    385385
    386 /** 
     386/**
    387387 * Convert a PC scan code to a USB HID usage byte.
    388  * 
     388 *
    389389 * @param state         Current state of the translator (scan_state_t).
    390390 * @param scanCode      Incoming scan code.
    391391 * @param pUsage        Pointer to usage; high bit set for key up events. The
    392392 *                      contents are only valid if returned state is SS_IDLE.
    393  * 
     393 *
    394394 * @return scan_state_t New state of the translator.
    395395 */
     
    896896                uint16_t    wRet = 0;
    897897
    898                 if (pSetup->wLength != 2) 
     898                if (pSetup->wLength != 2)
    899899                {
    900900                    Log(("usbHid: Bad GET_STATUS req: wLength=%#x\n", pSetup->wLength));
     
    912912                        return usbHidCompleteOk(pThis, pUrb, sizeof(wRet) + sizeof(*pSetup));
    913913                    }
    914    
     914
    915915                    case VUSB_TO_INTERFACE | VUSB_REQ_STANDARD | VUSB_DIR_TO_HOST:
    916916                    {
  • trunk/src/VBox/Devices/Input/UsbMouse.cpp

    r26965 r27129  
    993993            {
    994994                uint16_t    wRet = 0;
    995    
    996                 if (pSetup->wLength != 2) 
     995
     996                if (pSetup->wLength != 2)
    997997                {
    998998                    Log(("usbHid: Bad GET_STATUS req: wLength=%#x\n", pSetup->wLength));
     
    10101010                        return usbHidCompleteOk(pThis, pUrb, sizeof(wRet) + sizeof(*pSetup));
    10111011                    }
    1012    
     1012
    10131013                    case VUSB_TO_INTERFACE | VUSB_REQ_STANDARD | VUSB_DIR_TO_HOST:
    10141014                    {
     
    10241024                        break;
    10251025                    }
    1026    
     1026
    10271027                    case VUSB_TO_ENDPOINT | VUSB_REQ_STANDARD | VUSB_DIR_TO_HOST:
    10281028                    {
     
    10391039                        break;
    10401040                    }
    1041    
     1041
    10421042                    default:
    10431043                        Log(("usbHid: Bad GET_STATUS req: bmRequestType=%#x\n", pSetup->bmRequestType));
     
    10461046                break;
    10471047            }
    1048    
     1048
    10491049            case VUSB_REQ_CLEAR_FEATURE:
    10501050                break;
     
    11621162    pThis->bConfigurationValue = bConfigurationValue;
    11631163
    1164     /* 
     1164    /*
    11651165     * Set received event type to absolute or relative.
    11661166     */
     
    12591259    if (RT_FAILURE(rc))
    12601260        return PDMUsbHlpVMSetError(pUsbIns, rc, RT_SRC_POS, N_("HID failed to query settings"));
    1261    
     1261
    12621262    pThis->Lun0.IBase.pfnQueryInterface = usbHidMouseQueryInterface;
    12631263    pThis->Lun0.IPort.pfnPutEvent       = usbHidMousePutEvent;
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r26817 r27129  
    11661166                if (ret > 0)
    11671167                    TCP_OUTPUT(pData, sototcpcb(so));
    1168                 else 
     1168                else
    11691169                    break;
    11701170            }
  • trunk/src/VBox/Main/Makefile.kmk

    r26951 r27129  
    223223        $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,) \
    224224        $(if $(VBOX_WITH_LIVE_MIGRATION),VBOX_WITH_LIVE_MIGRATION,) \
    225         $(if $(VBOX_WITH_VUSB),VBOX_WITH_VUSB,) 
     225        $(if $(VBOX_WITH_VUSB),VBOX_WITH_VUSB,)
    226226ifdef VBOX_WITH_USB
    227227 VBoxSVC_DEFS += \
  • trunk/src/VBox/Main/MouseImpl.cpp

    r27061 r27129  
    281281        }
    282282        if (!pUpPort)
    283             return S_OK;       
     283            return S_OK;
    284284
    285285        int vrc = pUpPort->pfnPutEvent(pUpPort, dx, dy, dz, dw, fButtons);
     
    313313        }
    314314        if (!pUpPort)
    315             return S_OK;       
     315            return S_OK;
    316316
    317317        int vrc = pUpPort->pfnPutEventAbs(pUpPort, mouseXAbs, mouseYAbs, dz,
  • trunk/src/VBox/Main/include/MouseImpl.h

    r27061 r27129  
    122122    static DECLCALLBACK(int)    drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags);
    123123    static DECLCALLBACK(void)   drvDestruct(PPDMDRVINS pDrvIns);
    124    
     124
    125125    int getVMMDevMouseCaps(uint32_t *pfCaps);
    126126    int setVMMDevMouseCaps(uint32_t fCaps);
     
    132132    int convertDisplayWidth(LONG x, uint32_t *pcX);
    133133    int convertDisplayHeight(LONG y, uint32_t *pcY);
    134    
     134
    135135    void sendMouseCapsNotifications(void);
    136136
  • trunk/src/VBox/Runtime/r3/linux/RTSystemQueryDmiString-linux.cpp

    r26839 r27129  
    107107RT_EXPORT_SYMBOL(RTSystemQueryDmiString);
    108108
    109 
  • trunk/src/VBox/Runtime/r3/os2/pipe-os2.cpp

    r26824 r27129  
    9393}
    9494
    95 
  • trunk/src/VBox/Runtime/r3/solaris/RTSystemQueryDmiString-solaris.cpp

    r26665 r27129  
    109109}
    110110
    111 
  • trunk/src/VBox/Runtime/r3/win/RTSystemQueryDmiString-win.cpp

    r26645 r27129  
    5050    if (SUCCEEDED(hr))
    5151    {
    52         hr = CoInitializeSecurity(NULL, 
     52        hr = CoInitializeSecurity(NULL,
    5353                                  -1,                          /* COM authentication. */
    5454                                  NULL,                        /* Which authentication services. */
    5555                                  NULL,                        /* Reserved. */
    56                                   RPC_C_AUTHN_LEVEL_DEFAULT,   /* Default authentication. */ 
     56                                  RPC_C_AUTHN_LEVEL_DEFAULT,   /* Default authentication. */
    5757                                  RPC_C_IMP_LEVEL_IMPERSONATE, /* Default impersonation. */
    5858                                  NULL,                        /* Authentication info. */
     
    7676    AssertPtr(ppServices);
    7777
    78     HRESULT hr = pLocator->ConnectServer(_bstr_t(TEXT(pszServer)),         
    79                                          NULL,                   
    80                                          NULL,                   
    81                                          0,                     
    82                                          NULL,                   
    83                                          0,                     
    84                                          0,                     
     78    HRESULT hr = pLocator->ConnectServer(_bstr_t(TEXT(pszServer)),
     79                                         NULL,
     80                                         NULL,
     81                                         0,
     82                                         NULL,
     83                                         0,
     84                                         0,
    8585                                         ppServices);
    8686    if (SUCCEEDED(hr))
    8787    {
    88         hr = CoSetProxyBlanket(*ppServices,                 
    89                                RPC_C_AUTHN_WINNT,         
    90                                RPC_C_AUTHZ_NONE,           
    91                                NULL,                       
    92                                RPC_C_AUTHN_LEVEL_CALL,     
     88        hr = CoSetProxyBlanket(*ppServices,
     89                               RPC_C_AUTHN_WINNT,
     90                               RPC_C_AUTHZ_NONE,
     91                               NULL,
     92                               RPC_C_AUTHN_LEVEL_CALL,
    9393                               RPC_C_IMP_LEVEL_IMPERSONATE,
    94                                NULL,                       
    95                                EOAC_NONE);             
     94                               NULL,
     95                               EOAC_NONE);
    9696    }
    9797    return hr;
     
    111111
    112112    IWbemLocator *pLoc;
    113     hr = CoCreateInstance(CLSID_WbemLocator,             
    114                           0, 
    115                           CLSCTX_INPROC_SERVER, 
     113    hr = CoCreateInstance(CLSID_WbemLocator,
     114                          0,
     115                          CLSCTX_INPROC_SERVER,
    116116                          IID_IWbemLocator, (LPVOID *)&pLoc);
    117117    int rc = VINF_SUCCESS;
     
    128128                IWbemClassObject *pObj;
    129129                ULONG uCount;
    130    
     130
    131131                do
    132132                {
     
    134134                                     1,
    135135                                     &pObj,
    136                                      &uCount);           
     136                                     &uCount);
    137137                    if (   SUCCEEDED(hr)
    138138                        && uCount > 0)
     
    148148                                rc = VERR_NOT_SUPPORTED;
    149149                        }
    150        
     150
    151151                        if (RT_SUCCESS(rc))
    152152                        {
     
    177177RT_EXPORT_SYMBOL(RTSystemQueryDmiString);
    178178
    179 
  • trunk/src/VBox/Runtime/testcase/tstRTPipe.cpp

    r26824 r27129  
    332332}
    333333
    334 
  • trunk/src/VBox/VMM/PGM.cpp

    r27038 r27129  
    15821582    STAM_REL_REG(pVM, &pPGM->StatLargePageReused,                STAMTYPE_COUNTER, "/PGM/LargePage/Reused",              STAMUNIT_OCCURENCES, "The number of times we've reused a large page.");
    15831583    STAM_REL_REG(pVM, &pPGM->StatLargePageRefused,               STAMTYPE_COUNTER, "/PGM/LargePage/Refused",             STAMUNIT_OCCURENCES, "The number of times we couldn't use a large page.");
    1584     STAM_REL_REG(pVM, &pPGM->StatLargePageRecheck,               STAMTYPE_COUNTER, "/PGM/LargePage/Recheck",             STAMUNIT_OCCURENCES, "The number of times we've rechecked a disabled large page.");   
     1584    STAM_REL_REG(pVM, &pPGM->StatLargePageRecheck,               STAMTYPE_COUNTER, "/PGM/LargePage/Recheck",             STAMUNIT_OCCURENCES, "The number of times we've rechecked a disabled large page.");
    15851585
    15861586    /* Live save */
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r27102 r27129  
    32343234
    32353235/**
    3236  * Response to VMMCALLRING3_PGM_ALLOCATE_LARGE_PAGE to allocate a large (2MB) page 
     3236 * Response to VMMCALLRING3_PGM_ALLOCATE_LARGE_PAGE to allocate a large (2MB) page
    32373237 * for use with a nested paging PDE.
    32383238 *
    32393239 * @returns The following VBox status codes.
    3240  * @retval  VINF_SUCCESS on success. 
    3241  * @retval  VINF_EM_NO_MEMORY if we're out of memory. 
     3240 * @retval  VINF_SUCCESS on success.
     3241 * @retval  VINF_EM_NO_MEMORY if we're out of memory.
    32423242 *
    32433243 * @param   pVM         The VM handle.
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r26993 r27129  
    31763176        }
    31773177    }
    3178     else 
     3178    else
    31793179        Log2(("emInterpretInstructionCPU allowed to interpret user-level code!!\n"));
    31803180
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r27040 r27129  
    492492
    493493        /* Don't call this function for already allocated pages. */
    494         Assert(uPDEType != PGM_PAGE_PDE_TYPE_PDE); 
     494        Assert(uPDEType != PGM_PAGE_PDE_TYPE_PDE);
    495495
    496496        if  (   uPDEType == PGM_PAGE_PDE_TYPE_DONTCARE
     
    501501            GCPhys = GCPhysBase;
    502502
    503             /* Lazy approach: check all pages in the 2 MB range. 
     503            /* Lazy approach: check all pages in the 2 MB range.
    504504             * The whole range must be ram and unallocated
    505505             */
     
    536536# endif
    537537                if (RT_SUCCESS(rc))
    538                 {   
     538                {
    539539                    Assert(PGM_PAGE_GET_STATE(pPage) == PGM_PAGE_STATE_ALLOCATED);
    540540                    STAM_REL_COUNTER_INC(&pVM->pgm.s.StatLargePageAlloc);
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