Changeset 27129 in vbox
- Timestamp:
- Mar 6, 2010 12:16:08 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58465
- Location:
- trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/pipe.h
r26824 r27129 185 185 #endif 186 186 187 -
trunk/src/VBox/Additions/WINNT/Graphics/Makefile.kmk
r26976 r27129 68 68 $(call MSG_TOOL,Inf2Cat,VBoxVideo-inf,$@,$<) 69 69 $(call VBOX_MAKE_CAT_FN, $(@D),$@) 70 70 71 71 ifdef VBOXWDDM 72 72 VBOXWDDM_WITH_DISPD3D = 1 … … 93 93 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D64.dll 94 94 endif 95 95 96 96 endif # signing 97 97 VBoxVideoWddm-inf_CLEAN = $(VBoxVideoWddm-inf_SOURCES) -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Makefile.kmk
r26928 r27129 87 87 endif 88 88 VBoxVideoWddm_DEFS += LOG_ENABLED 89 #VBoxVideoWddm_DEFS += LOG_TO_BACKDOOR 89 #VBoxVideoWddm_DEFS += LOG_TO_BACKDOOR 90 90 VBoxVideoWddm_INCS += ../../include 91 91 VBoxVideoWddm_LDFLAGS.x86 += /Entry:DriverEntry@8 -
trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHostHlp.cpp
r26876 r27129 83 83 } 84 84 85 -
trunk/src/VBox/Devices/Input/UsbKbd.cpp
r26966 r27129 384 384 }; 385 385 386 /** 386 /** 387 387 * Convert a PC scan code to a USB HID usage byte. 388 * 388 * 389 389 * @param state Current state of the translator (scan_state_t). 390 390 * @param scanCode Incoming scan code. 391 391 * @param pUsage Pointer to usage; high bit set for key up events. The 392 392 * contents are only valid if returned state is SS_IDLE. 393 * 393 * 394 394 * @return scan_state_t New state of the translator. 395 395 */ … … 896 896 uint16_t wRet = 0; 897 897 898 if (pSetup->wLength != 2) 898 if (pSetup->wLength != 2) 899 899 { 900 900 Log(("usbHid: Bad GET_STATUS req: wLength=%#x\n", pSetup->wLength)); … … 912 912 return usbHidCompleteOk(pThis, pUrb, sizeof(wRet) + sizeof(*pSetup)); 913 913 } 914 914 915 915 case VUSB_TO_INTERFACE | VUSB_REQ_STANDARD | VUSB_DIR_TO_HOST: 916 916 { -
trunk/src/VBox/Devices/Input/UsbMouse.cpp
r26965 r27129 993 993 { 994 994 uint16_t wRet = 0; 995 996 if (pSetup->wLength != 2) 995 996 if (pSetup->wLength != 2) 997 997 { 998 998 Log(("usbHid: Bad GET_STATUS req: wLength=%#x\n", pSetup->wLength)); … … 1010 1010 return usbHidCompleteOk(pThis, pUrb, sizeof(wRet) + sizeof(*pSetup)); 1011 1011 } 1012 1012 1013 1013 case VUSB_TO_INTERFACE | VUSB_REQ_STANDARD | VUSB_DIR_TO_HOST: 1014 1014 { … … 1024 1024 break; 1025 1025 } 1026 1026 1027 1027 case VUSB_TO_ENDPOINT | VUSB_REQ_STANDARD | VUSB_DIR_TO_HOST: 1028 1028 { … … 1039 1039 break; 1040 1040 } 1041 1041 1042 1042 default: 1043 1043 Log(("usbHid: Bad GET_STATUS req: bmRequestType=%#x\n", pSetup->bmRequestType)); … … 1046 1046 break; 1047 1047 } 1048 1048 1049 1049 case VUSB_REQ_CLEAR_FEATURE: 1050 1050 break; … … 1162 1162 pThis->bConfigurationValue = bConfigurationValue; 1163 1163 1164 /* 1164 /* 1165 1165 * Set received event type to absolute or relative. 1166 1166 */ … … 1259 1259 if (RT_FAILURE(rc)) 1260 1260 return PDMUsbHlpVMSetError(pUsbIns, rc, RT_SRC_POS, N_("HID failed to query settings")); 1261 1261 1262 1262 pThis->Lun0.IBase.pfnQueryInterface = usbHidMouseQueryInterface; 1263 1263 pThis->Lun0.IPort.pfnPutEvent = usbHidMousePutEvent; -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r26817 r27129 1166 1166 if (ret > 0) 1167 1167 TCP_OUTPUT(pData, sototcpcb(so)); 1168 else 1168 else 1169 1169 break; 1170 1170 } -
trunk/src/VBox/Main/Makefile.kmk
r26951 r27129 223 223 $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,) \ 224 224 $(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,) 226 226 ifdef VBOX_WITH_USB 227 227 VBoxSVC_DEFS += \ -
trunk/src/VBox/Main/MouseImpl.cpp
r27061 r27129 281 281 } 282 282 if (!pUpPort) 283 return S_OK; 283 return S_OK; 284 284 285 285 int vrc = pUpPort->pfnPutEvent(pUpPort, dx, dy, dz, dw, fButtons); … … 313 313 } 314 314 if (!pUpPort) 315 return S_OK; 315 return S_OK; 316 316 317 317 int vrc = pUpPort->pfnPutEventAbs(pUpPort, mouseXAbs, mouseYAbs, dz, -
trunk/src/VBox/Main/include/MouseImpl.h
r27061 r27129 122 122 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags); 123 123 static DECLCALLBACK(void) drvDestruct(PPDMDRVINS pDrvIns); 124 124 125 125 int getVMMDevMouseCaps(uint32_t *pfCaps); 126 126 int setVMMDevMouseCaps(uint32_t fCaps); … … 132 132 int convertDisplayWidth(LONG x, uint32_t *pcX); 133 133 int convertDisplayHeight(LONG y, uint32_t *pcY); 134 134 135 135 void sendMouseCapsNotifications(void); 136 136 -
trunk/src/VBox/Runtime/r3/linux/RTSystemQueryDmiString-linux.cpp
r26839 r27129 107 107 RT_EXPORT_SYMBOL(RTSystemQueryDmiString); 108 108 109 -
trunk/src/VBox/Runtime/r3/os2/pipe-os2.cpp
r26824 r27129 93 93 } 94 94 95 -
trunk/src/VBox/Runtime/r3/solaris/RTSystemQueryDmiString-solaris.cpp
r26665 r27129 109 109 } 110 110 111 -
trunk/src/VBox/Runtime/r3/win/RTSystemQueryDmiString-win.cpp
r26645 r27129 50 50 if (SUCCEEDED(hr)) 51 51 { 52 hr = CoInitializeSecurity(NULL, 52 hr = CoInitializeSecurity(NULL, 53 53 -1, /* COM authentication. */ 54 54 NULL, /* Which authentication services. */ 55 55 NULL, /* Reserved. */ 56 RPC_C_AUTHN_LEVEL_DEFAULT, /* Default authentication. */ 56 RPC_C_AUTHN_LEVEL_DEFAULT, /* Default authentication. */ 57 57 RPC_C_IMP_LEVEL_IMPERSONATE, /* Default impersonation. */ 58 58 NULL, /* Authentication info. */ … … 76 76 AssertPtr(ppServices); 77 77 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, 85 85 ppServices); 86 86 if (SUCCEEDED(hr)) 87 87 { 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, 93 93 RPC_C_IMP_LEVEL_IMPERSONATE, 94 NULL, 95 EOAC_NONE); 94 NULL, 95 EOAC_NONE); 96 96 } 97 97 return hr; … … 111 111 112 112 IWbemLocator *pLoc; 113 hr = CoCreateInstance(CLSID_WbemLocator, 114 0, 115 CLSCTX_INPROC_SERVER, 113 hr = CoCreateInstance(CLSID_WbemLocator, 114 0, 115 CLSCTX_INPROC_SERVER, 116 116 IID_IWbemLocator, (LPVOID *)&pLoc); 117 117 int rc = VINF_SUCCESS; … … 128 128 IWbemClassObject *pObj; 129 129 ULONG uCount; 130 130 131 131 do 132 132 { … … 134 134 1, 135 135 &pObj, 136 &uCount); 136 &uCount); 137 137 if ( SUCCEEDED(hr) 138 138 && uCount > 0) … … 148 148 rc = VERR_NOT_SUPPORTED; 149 149 } 150 150 151 151 if (RT_SUCCESS(rc)) 152 152 { … … 177 177 RT_EXPORT_SYMBOL(RTSystemQueryDmiString); 178 178 179 -
trunk/src/VBox/Runtime/testcase/tstRTPipe.cpp
r26824 r27129 332 332 } 333 333 334 -
trunk/src/VBox/VMM/PGM.cpp
r27038 r27129 1582 1582 STAM_REL_REG(pVM, &pPGM->StatLargePageReused, STAMTYPE_COUNTER, "/PGM/LargePage/Reused", STAMUNIT_OCCURENCES, "The number of times we've reused a large page."); 1583 1583 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."); 1585 1585 1586 1586 /* Live save */ -
trunk/src/VBox/VMM/PGMPhys.cpp
r27102 r27129 3234 3234 3235 3235 /** 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 3237 3237 * for use with a nested paging PDE. 3238 3238 * 3239 3239 * @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. 3242 3242 * 3243 3243 * @param pVM The VM handle. -
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r26993 r27129 3176 3176 } 3177 3177 } 3178 else 3178 else 3179 3179 Log2(("emInterpretInstructionCPU allowed to interpret user-level code!!\n")); 3180 3180 -
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r27040 r27129 492 492 493 493 /* 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); 495 495 496 496 if ( uPDEType == PGM_PAGE_PDE_TYPE_DONTCARE … … 501 501 GCPhys = GCPhysBase; 502 502 503 /* Lazy approach: check all pages in the 2 MB range. 503 /* Lazy approach: check all pages in the 2 MB range. 504 504 * The whole range must be ram and unallocated 505 505 */ … … 536 536 # endif 537 537 if (RT_SUCCESS(rc)) 538 { 538 { 539 539 Assert(PGM_PAGE_GET_STATE(pPage) == PGM_PAGE_STATE_ALLOCATED); 540 540 STAM_REL_COUNTER_INC(&pVM->pgm.s.StatLargePageAlloc);
Note:
See TracChangeset
for help on using the changeset viewer.