Changeset 63566 in vbox
- Timestamp:
- Aug 16, 2016 2:05:58 PM (8 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxD3DIf.cpp
r63018 r63566 22 22 D3DFORMAT vboxDDI2D3DFormat(D3DDDIFORMAT format) 23 23 { 24 /* @todo:check they are all equal */24 /** @todo check they are all equal */ 25 25 return (D3DFORMAT)format; 26 26 } … … 28 28 D3DMULTISAMPLE_TYPE vboxDDI2D3DMultiSampleType(D3DDDIMULTISAMPLE_TYPE enmType) 29 29 { 30 /* @todo:check they are all equal */30 /** @todo check they are all equal */ 31 31 return (D3DMULTISAMPLE_TYPE)enmType; 32 32 } … … 34 34 D3DPOOL vboxDDI2D3DPool(D3DDDI_POOL enmPool) 35 35 { 36 /* @todo:check they are all equal */36 /** @todo check they are all equal */ 37 37 switch (enmPool) 38 38 { … … 42 42 case D3DDDIPOOL_LOCALVIDMEM: 43 43 case D3DDDIPOOL_NONLOCALVIDMEM: 44 /* @todo:what would be proper here? */44 /** @todo what would be proper here? */ 45 45 return D3DPOOL_DEFAULT; 46 46 default: … … 52 52 D3DRENDERSTATETYPE vboxDDI2D3DRenderStateType(D3DDDIRENDERSTATETYPE enmType) 53 53 { 54 /* @todo:@fixme: not entirely correct, need to check */54 /** @todo @fixme: not entirely correct, need to check */ 55 55 return (D3DRENDERSTATETYPE)enmType; 56 56 } … … 677 677 vboxDDI2D3DMultiSampleType(pRc->RcDesc.enmMultisampleType), 678 678 pRc->RcDesc.MultisampleQuality, 679 TRUE /* @todo:BOOL Discard */,679 TRUE /** @todo BOOL Discard */, 680 680 &pD3D9Surf, 681 681 NULL /*HANDLE* pSharedHandle*/); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.cpp
r63105 r63566 1003 1003 /* bad, @todo: correct the swapchain by either removing the Rt and adding it to another swapchain 1004 1004 * or by removing the pBbAlloc out of it */ 1005 // @todo:Assert(0);1005 /// @todo Assert(0); 1006 1006 1007 1007 PVBOXWDDMDISP_RENDERTGT pRt = vboxWddmSwapchainRtForAlloc(pSwapchain, pBbAlloc); … … 1140 1140 /* the swapchain has changed, copy data to the new surface */ 1141 1141 #ifdef DEBUG_misha 1142 /* @todo:we can not generally update the render target directly, implement */1142 /** @todo we can not generally update the render target directly, implement */ 1143 1143 Assert(iBb != (~0)); 1144 1144 #endif … … 1487 1487 1488 1488 Params.Base.hDeviceWindow = NULL; 1489 /* @todo:it seems there should be a way to detect this correctly since1489 /** @todo it seems there should be a way to detect this correctly since 1490 1490 * our vboxWddmDDevSetDisplayMode will be called in case we are using full-screen */ 1491 1491 Params.Base.Windowed = TRUE; … … 1757 1757 } 1758 1758 1759 // @todo:Assert(!pSwapchain->fFlags.bChanged);1759 /// @todo Assert(!pSwapchain->fFlags.bChanged); 1760 1760 Assert(pSwapchain->pSwapChainIf); 1761 1761 hr = vboxWddmSwapchainChkCreateIf(pDevice, pSwapchain); … … 1767 1767 } 1768 1768 1769 // @todo:Assert(vboxWddmSwapchainGetBb(pSwapchain)->pAlloc == pAlloc || iRt != 0);1769 /// @todo Assert(vboxWddmSwapchainGetBb(pSwapchain)->pAlloc == pAlloc || iRt != 0); 1770 1770 IDirect3DSurface9 *pSurf; 1771 1771 hr = vboxWddmSwapchainSurfGet(pDevice, pSwapchain, pAlloc, &pSurf); … … 1957 1957 else 1958 1958 { 1959 /* @todo This is workaround for wine 1 render target. */1959 /** @todo This is workaround for wine 1 render target. */ 1960 1960 if (!pAlloc) 1961 1961 { … … 2363 2363 vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p)\n", hDevice)); 2364 2364 #ifdef DEBUG_misha 2365 /* @todo:check if it's ok to always return success */2365 /** @todo check if it's ok to always return success */ 2366 2366 vboxVDbgPrint((__FUNCTION__": @todo: check if it's ok to always return success\n")); 2367 2367 Assert(0); … … 2671 2671 else 2672 2672 { 2673 /* todo:impl */2673 /** @todo impl */ 2674 2674 WARN(("multiple user stream sources (%d) not implemented!!", pDevice->cStreamSourcesUm)); 2675 2675 } … … 3230 3230 VBOXDISPCRHGSMI_SCOPE_SET_DEV(pDevice); 3231 3231 Assert(0); 3232 // @todo:vboxWddmDalCheckAdd(pDevice);3232 /// @todo vboxWddmDalCheckAdd(pDevice); 3233 3233 vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice)); 3234 3234 return E_FAIL; … … 5337 5337 if (hr != S_OK) 5338 5338 { 5339 /* todo:fallback to memcpy or whatever ? */5339 /** @todo fallback to memcpy or whatever ? */ 5340 5340 Assert(0); 5341 5341 } … … 5368 5368 hr = pDevice9If->ColorFill(pSurfIf, &pData->DstRect, pData->Color); 5369 5369 Assert(hr == S_OK); 5370 /* @todo:check what need to do when PresentToDwm flag is set */5370 /** @todo check what need to do when PresentToDwm flag is set */ 5371 5371 Assert(pData->Flags.Value == 0); 5372 5372 … … 5388 5388 VBOXDISPCRHGSMI_SCOPE_SET_DEV(pDevice); 5389 5389 Assert(0); 5390 // @todo:vboxWddmDalCheckAdd(pDevice, pDAlloc, TRUE);5390 /// @todo vboxWddmDalCheckAdd(pDevice, pDAlloc, TRUE); 5391 5391 vboxVDbgPrintF(("==> "__FUNCTION__", hDevice(0x%p)\n", hDevice)); 5392 5392 return E_FAIL; … … 6088 6088 6089 6089 HRESULT hr = S_OK; 6090 /* @todo check residency for the "real" allocations */6090 /** @todo check residency for the "real" allocations */ 6091 6091 #if 0 6092 6092 for (UINT i = 0; i < pData->NumResources; ++i) … … 6454 6454 params.SwapEffect = D3DSWAPEFFECT_DISCARD; 6455 6455 // params.hDeviceWindow = hWnd; 6456 /* @todo:it seems there should be a way to detect this correctly since6456 /** @todo it seems there should be a way to detect this correctly since 6457 6457 * our vboxWddmDDevSetDisplayMode will be called in case we are using full-screen */ 6458 6458 params.Windowed = TRUE; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxUhgsmiBase.cpp
r63033 r63566 58 58 { 59 59 /*DWORD winEr = GetLastError(); - unused */ 60 /* todo:translate winer */60 /** @todo translate winer */ 61 61 return VERR_GENERAL_FAILURE; 62 62 } -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDDraw.cpp
r63058 r63566 195 195 196 196 197 /* @todo:it's probably a memory leak, because DDDestroySurface wouldn't be called for197 /** @todo it's probably a memory leak, because DDDestroySurface wouldn't be called for 198 198 * primary surfaces. 199 199 */ -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDriver.cpp
r63058 r63566 288 288 pGdiInfo->ulNumPalReg = (pDev->mode.ulBitsPerPel==8) ? (1<<pDev->mode.ulBitsPerPel) : 0; 289 289 290 /* @todo:might want to implement IOCTL_VIDEO_QUERY_COLOR_CAPABILITIES in miniport driver290 /** @todo might want to implement IOCTL_VIDEO_QUERY_COLOR_CAPABILITIES in miniport driver 291 291 * and query host for this info there 292 292 */ … … 393 393 BOOL DrvEnableDriver(ULONG iEngineVersion, ULONG cj, PDRVENABLEDATA pded) 394 394 { 395 /* @todo:can't link with hal.lib395 /** @todo can't link with hal.lib 396 396 int irc = RTR0Init(0); 397 397 if (RT_FAILURE(irc)) … … 607 607 608 608 /* Clear mapped memory, to avoid garbage while video mode is switching */ 609 /* @todo:VIDEO_MODE_NO_ZERO_MEMORY does nothing in miniport's IOCTL_VIDEO_SET_CURRENT_MODE*/609 /** @todo VIDEO_MODE_NO_ZERO_MEMORY does nothing in miniport's IOCTL_VIDEO_SET_CURRENT_MODE*/ 610 610 memset(pDev->memInfo.FrameBufferBase, 0, pDev->mode.ulHeight * abs(pDev->mode.lScanlineStride)); 611 611 -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispVHWA.cpp
r63061 r63566 141 141 } 142 142 143 /* @todo:temporary hack */143 /** @todo temporary hack */ 144 144 VBoxDispVHWACommandCheckHostCmds(pDev); 145 145 … … 660 660 void VBoxDispVHWAFromDDOVERLAYFX(VBOXVHWA_OVERLAYFX *pVHWAOverlay, DDOVERLAYFX *pDdOverlay) 661 661 { 662 // TODO:fxFlags662 /// @todo fxFlags 663 663 VBoxDispVHWAFromDDCOLORKEY(&pVHWAOverlay->DstCK, &pDdOverlay->dckDestColorkey); 664 664 VBoxDispVHWAFromDDCOLORKEY(&pVHWAOverlay->SrcCK, &pDdOverlay->dckSrcColorkey); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispVRDP.cpp
r63061 r63566 1386 1386 if (ROP3_NEED_SRC(rop4)) 1387 1387 { 1388 /* @todo Three way blt. RDP_ORDER_TRIBLT. */1388 /** @todo Three way blt. RDP_ORDER_TRIBLT. */ 1389 1389 LOG(("TRIBLT pbo->iSolidColor = 0x%08X.", pbo->iSolidColor)); 1390 1390 vrdpReportDirtyRects(pDev, &clipRects); … … 1432 1432 else 1433 1433 { 1434 /* @todo BITMAPCACHE followed by MEMBLT? */1434 /** @todo BITMAPCACHE followed by MEMBLT? */ 1435 1435 vrdpReportDirtyRects(pDev, &clipRects); 1436 1436 } -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.cpp
r63062 r63566 510 510 /* do not zero up the view rect since it may still be valid */ 511 511 // memset(&pSwapchain->ViewRect, 0, sizeof (pSwapchain->ViewRect)); 512 /* @todo:do we really need to zero this up here ? */512 /** @todo do we really need to zero this up here ? */ 513 513 VBoxVrListClear(&pSwapchain->VisibleRegions); 514 514 … … 1463 1463 { 1464 1464 Assert(0); 1465 /* @todo:try flushing.. */1465 /** @todo try flushing.. */ 1466 1466 LOGREL(("vboxVdmaCBufDrCreate returned NULL")); 1467 1467 Status = STATUS_INSUFFICIENT_RESOURCES; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVModes.cpp
r63057 r63566 622 622 else 623 623 { 624 /* @todo:try flushing.. */624 /** @todo try flushing.. */ 625 625 WARN(("vboxVdmaCBufDrCreate returned NULL")); 626 626 Status = STATUS_INSUFFICIENT_RESOURCES; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVbva.cpp
r63242 r63566 751 751 notify.InterruptType = DXGK_INTERRUPT_DMA_FAULTED; 752 752 notify.DmaFaulted.FaultedFenceId = u32FenceId; 753 notify.DmaFaulted.Status = STATUS_UNSUCCESSFUL; /* @todo:better status ? */753 notify.DmaFaulted.Status = STATUS_UNSUCCESSFUL; /** @todo better status ? */ 754 754 notify.DmaFaulted.NodeOrdinal = pVbva->idNode; 755 755 break; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVdma.cpp
r63057 r63566 1894 1894 notify.InterruptType = DXGK_INTERRUPT_DMA_FAULTED; 1895 1895 notify.DmaFaulted.FaultedFenceId = u32FenceId; 1896 notify.DmaFaulted.Status = STATUS_UNSUCCESSFUL; /* @todo:better status ? */1896 notify.DmaFaulted.Status = STATUS_UNSUCCESSFUL; /** @todo better status ? */ 1897 1897 notify.DmaFaulted.NodeOrdinal = u32NodeOrdinal; 1898 1898 break; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVhwa.cpp
r63057 r63566 387 387 { 388 388 pSettings->fFlags |= VBOXVHWA_F_CKEY_SRC; 389 /* todo:VBOXVHWA_CKEYCAPS_SRCOVERLAYONEACTIVE ? */389 /** @todo VBOXVHWA_CKEYCAPS_SRCOVERLAYONEACTIVE ? */ 390 390 } 391 391 … … 393 393 { 394 394 pSettings->fFlags |= VBOXVHWA_F_CKEY_DST; 395 /* todo:VBOXVHWA_CKEYCAPS_DESTOVERLAYONEACTIVE ? */395 /** @todo VBOXVHWA_CKEYCAPS_DESTOVERLAYONEACTIVE ? */ 396 396 } 397 397 } … … 577 577 pInfo->cBackBuffers = 0; 578 578 pInfo->Reserved = 0; 579 /* @todo:color keys */579 /** @todo color keys */ 580 580 // pInfo->DstOverlayCK; 581 581 // pInfo->DstBltCK; … … 607 607 pSurf->AllocData.SurfDesc.pitch = pInfo->pitch; 608 608 Assert(pSurf->AllocData.SurfDesc.pitch); 609 /* @todo:make this properly */609 /** @todo make this properly */ 610 610 pSurf->AllocData.SurfDesc.bpp = pSurf->AllocData.SurfDesc.pitch * 8 / pSurf->AllocData.SurfDesc.width; 611 611 Assert(pSurf->AllocData.SurfDesc.bpp); … … 757 757 758 758 int rc = VINF_SUCCESS; 759 /* @todo:need a better sync */759 /** @todo need a better sync */ 760 760 uint32_t cNew = ASMAtomicIncU32(&pSource->Vhwa.cOverlaysCreated); 761 761 if (cNew == 1) … … 800 800 Assert(!!(pSource->Vhwa.Settings.fFlags & VBOXVHWA_F_ENABLED)); 801 801 802 /* @todo:need a better sync */802 /** @todo need a better sync */ 803 803 uint32_t cNew = ASMAtomicDecU32(&pSource->Vhwa.cOverlaysCreated); 804 804 int rc = VINF_SUCCESS; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVidPn.cpp
r63057 r63566 1253 1253 pNewVidPnPresentPathInfo->VisibleFromActiveBROffset.cx = 0; 1254 1254 pNewVidPnPresentPathInfo->VisibleFromActiveBROffset.cy = 0; 1255 pNewVidPnPresentPathInfo->VidPnTargetColorBasis = D3DKMDT_CB_SRGB; /* @todo:how does it matters? */1255 pNewVidPnPresentPathInfo->VidPnTargetColorBasis = D3DKMDT_CB_SRGB; /** @todo how does it matters? */ 1256 1256 pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.FirstChannel = 8; 1257 1257 pNewVidPnPresentPathInfo->VidPnTargetColorCoeffDynamicRanges.SecondChannel = 8; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r63057 r63566 340 340 341 341 VBoxVideoSetModeRegisters(width, height, width, bpp, 0, (uint16_t)xOffset, (uint16_t)yOffset); 342 /* @todo read back from port to check if mode switch was successful */342 /** @todo read back from port to check if mode switch was successful */ 343 343 344 344 return STATUS_SUCCESS; … … 723 723 { 724 724 PCM_RESOURCE_LIST pRcList = pDeviceInfo->TranslatedResourceList; 725 /* @todo:verify resources */725 /** @todo verify resources */ 726 726 for (ULONG i = 0; i < pRcList->Count; ++i) 727 727 { … … 759 759 { 760 760 LOGREL(("HGSMI unsupported, returning err")); 761 /* @todo:report a better status */761 /** @todo report a better status */ 762 762 Status = STATUS_UNSUCCESSFUL; 763 763 } … … 860 860 else 861 861 { 862 /* todo:?? */862 /** @todo ?? */ 863 863 } 864 864 … … 879 879 if (RT_FAILURE(rc)) 880 880 { 881 /* @todo:de-initialize */881 /** @todo de-initialize */ 882 882 } 883 883 } … … 995 995 if (RT_FAILURE(rc)) 996 996 { 997 /* @todo:*/997 /** @todo */ 998 998 } 999 999 } … … 1284 1284 LOGREL(("HGSMI failed to initialize, returning err")); 1285 1285 1286 /* @todo:report a better status */1286 /** @todo report a better status */ 1287 1287 Status = STATUS_UNSUCCESSFUL; 1288 1288 } … … 1540 1540 { 1541 1541 AssertBreakpoint(); 1542 /* @todo:FIXME: implement !!! */1542 /** @todo FIXME: implement !!! */ 1543 1543 } 1544 1544 else … … 1701 1701 { 1702 1702 AssertBreakpoint(); 1703 /* @todo:FIXME: implement !!! */1703 /** @todo FIXME: implement !!! */ 1704 1704 } 1705 1705 else … … 2204 2204 pCaps->SchedulingCaps.MultiEngineAware = 1; 2205 2205 pCaps->MemoryManagementCaps.Value = 0; 2206 /* @todo:this correlates with pCaps->SchedulingCaps.MultiEngineAware */2206 /** @todo this correlates with pCaps->SchedulingCaps.MultiEngineAware */ 2207 2207 pCaps->MemoryManagementCaps.PagingNode = 0; 2208 /* @todo:this correlates with pCaps->SchedulingCaps.MultiEngineAware */2208 /** @todo this correlates with pCaps->SchedulingCaps.MultiEngineAware */ 2209 2209 pCaps->GpuEngineTopology.NbAsymetricProcessingNodes = VBOXWDDM_NUM_NODES; 2210 2210 #ifdef VBOX_WDDM_WIN8 … … 2247 2247 pDr->CpuTranslatedAddress = VBoxCommonFromDeviceExt(pDevExt)->phVRAM; 2248 2248 /* make sure the size is page aligned */ 2249 /* @todo:need to setup VBVA buffers and adjust the mem size here */2249 /** @todo need to setup VBVA buffers and adjust the mem size here */ 2250 2250 pDr->Size = vboxWddmVramCpuVisibleSegmentSize(pDevExt); 2251 2251 pDr->NbOfBanks = 0; … … 2260 2260 pDr->CpuTranslatedAddress.QuadPart = 0; 2261 2261 /* make sure the size is page aligned */ 2262 /* @todo:need to setup VBVA buffers and adjust the mem size here */2262 /** @todo need to setup VBVA buffers and adjust the mem size here */ 2263 2263 pDr->Size = vboxWddmVramCpuInvisibleSegmentSize(pDevExt); 2264 2264 pDr->NbOfBanks = 0; … … 2433 2433 if (pAllocation->bAssigned) 2434 2434 { 2435 /* @todo:do we need to notify host? */2435 /** @todo do we need to notify host? */ 2436 2436 vboxWddmAssignPrimary(&pDevExt->aSources[pAllocation->AllocData.SurfDesc.VidPnSourceId], NULL, pAllocation->AllocData.SurfDesc.VidPnSourceId); 2437 2437 } … … 2909 2909 pGetStandardAllocationDriverData->pCreateShadowSurfaceData->Pitch = Pitch; 2910 2910 2911 /* @todo:need [d/q]word align?? */2911 /** @todo need [d/q]word align?? */ 2912 2912 2913 2913 if (pGetStandardAllocationDriverData->pAllocationPrivateDriverData) … … 3547 3547 if (!pDr) 3548 3548 { 3549 /* @todo:try flushing.. */3549 /** @todo try flushing.. */ 3550 3550 LOGREL(("vboxVdmaCBufDrCreate returned NULL")); 3551 3551 return STATUS_INSUFFICIENT_RESOURCES; … … 3603 3603 3604 3604 AssertFailed(); 3605 /* @todo:fixme: implement */3605 /** @todo fixme: implement */ 3606 3606 3607 3607 LOGF(("LEAVE, hAdapter(0x%x)", hAdapter)); … … 3686 3686 { 3687 3687 WARN(("pBuildPagingBuffer->DmaSize(%d) < sizeof VBOXCMDVBVA_PAGING_TRANSFER (%d)", pBuildPagingBuffer->DmaSize , sizeof (VBOXCMDVBVA_PAGING_TRANSFER))); 3688 /* @todo:can this actually happen? what status to return? */3688 /** @todo can this actually happen? what status to return? */ 3689 3689 return STATUS_GRAPHICS_INSUFFICIENT_DMA_BUFFER; 3690 3690 } … … 3862 3862 uint32_t cbCmdDma = 0; 3863 3863 3864 /* @todo:*/3864 /** @todo */ 3865 3865 switch (pBuildPagingBuffer->Operation) 3866 3866 { … … 4008 4008 else 4009 4009 { 4010 /* @todo:try flushing.. */4010 /** @todo try flushing.. */ 4011 4011 LOGREL(("vboxVdmaCBufDrCreate returned NULL")); 4012 4012 Status = STATUS_INSUFFICIENT_RESOURCES; … … 4058 4058 4059 4059 AssertBreakpoint(); 4060 /* @todo:fixme: implement */4060 /** @todo fixme: implement */ 4061 4061 4062 4062 LOGF(("LEAVE, hAdapter(0x%x)", hAdapter)); … … 4310 4310 PVBOXMP_DEVEXT pDevExt = (PVBOXMP_DEVEXT)hAdapter; 4311 4311 PVBOXWDDM_POINTER_INFO pPointerInfo = &pDevExt->aSources[pSetPointerShape->VidPnSourceId].PointerInfo; 4312 /* @todo:to avoid extra data copy and extra heap allocation,4312 /** @todo to avoid extra data copy and extra heap allocation, 4313 4313 * need to maintain the pre-allocated HGSMI buffer and convert the data directly to it */ 4314 4314 if (vboxVddmPointerShapeToAttributes(pSetPointerShape, pPointerInfo)) … … 4339 4339 4340 4340 AssertBreakpoint(); 4341 /* @todo:fixme: implement */4341 /** @todo fixme: implement */ 4342 4342 4343 4343 LOGF(("LEAVE, hAdapter(0x%x)", hAdapter)); … … 4594 4594 } 4595 4595 case VBOXESC_ISVRDPACTIVE: 4596 /* @todo:implement */4596 /** @todo implement */ 4597 4597 Status = STATUS_SUCCESS; 4598 4598 break; … … 5769 5769 WARN(("pRender->DmaBufferPrivateDataSize(%d) < sizeof VBOXCMDVBVA_HDR (%d)", 5770 5770 pRender->DmaBufferPrivateDataSize , sizeof (VBOXCMDVBVA_HDR))); 5771 /* @todo:can this actually happen? what status to return? */5771 /** @todo can this actually happen? what status to return? */ 5772 5772 return STATUS_INVALID_PARAMETER; 5773 5773 } … … 6194 6194 { 6195 6195 WARN(("Present->DmaBufferPrivateDataSize(%d) < sizeof VBOXCMDVBVA_HDR (%d)", pPresent->DmaBufferPrivateDataSize , sizeof (VBOXCMDVBVA_HDR))); 6196 /* @todo:can this actually happen? what status to return? */6196 /** @todo can this actually happen? what status to return? */ 6197 6197 return STATUS_INVALID_PARAMETER; 6198 6198 } … … 6209 6209 { 6210 6210 WARN(("Present->DmaSize(%d) < VBOXWDDM_DUMMY_DMABUFFER_SIZE (%d)", pPresent->DmaSize , VBOXWDDM_DUMMY_DMABUFFER_SIZE)); 6211 /* @todo:can this actually happen? what status to return? */6211 /** @todo can this actually happen? what status to return? */ 6212 6212 return STATUS_INVALID_PARAMETER; 6213 6213 } … … 6264 6264 { 6265 6265 WARN(("Present->DmaBufferPrivateDataSize(%d) < (%d)", pPresent->DmaBufferPrivateDataSize , VBOXCMDVBVA_SIZEOF_BLTSTRUCT_MAX)); 6266 /* @todo:can this actually happen? what status to return? */6266 /** @todo can this actually happen? what status to return? */ 6267 6267 return STATUS_INVALID_PARAMETER; 6268 6268 } … … 6323 6323 { 6324 6324 WARN(("Present->DmaBufferPrivateDataSize(%d) < sizeof VBOXCMDVBVA_FLIP (%d)", pPresent->DmaBufferPrivateDataSize , sizeof (VBOXCMDVBVA_FLIP))); 6325 /* @todo:can this actually happen? what status to return? */6325 /** @todo can this actually happen? what status to return? */ 6326 6326 return STATUS_INVALID_PARAMETER; 6327 6327 } … … 6401 6401 { 6402 6402 WARN(("Present->DmaBufferPrivateDataSize(%d) < VBOXCMDVBVA_SIZEOF_CLRFILLSTRUCT_MAX (%d)", pPresent->DmaBufferPrivateDataSize , VBOXCMDVBVA_SIZEOF_CLRFILLSTRUCT_MAX)); 6403 /* @todo:can this actually happen? what status to return? */6403 /** @todo can this actually happen? what status to return? */ 6404 6404 return STATUS_INVALID_PARAMETER; 6405 6405 } … … 6516 6516 { 6517 6517 LOGREL(("Present->DmaBufferPrivateDataSize(%d) < sizeof VBOXWDDM_DMA_PRIVATEDATA_PRESENTHDR (%d)", pPresent->DmaBufferPrivateDataSize , sizeof (VBOXWDDM_DMA_PRIVATEDATA_PRESENTHDR))); 6518 /* @todo:can this actually happen? what status tu return? */6518 /** @todo can this actually happen? what status tu return? */ 6519 6519 return STATUS_INVALID_PARAMETER; 6520 6520 } -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPIOCTL.cpp
r63047 r63566 59 59 60 60 /* Tell the host that we no longer support graphics in the additions */ 61 /* @todo VBoxMPSetGraphicsCap(FALSE); */61 /** @todo VBoxMPSetGraphicsCap(FALSE); */ 62 62 63 63 LOGF_LEAVE(); … … 220 220 (USHORT)pModeInfo->VisScreenWidth, (USHORT)pModeInfo->BitsPerPlane, 0, 0, 0); 221 221 222 /* @todo read back from port to check if mode switch was successful */222 /** @todo read back from port to check if mode switch was successful */ 223 223 224 224 LOGF_LEAVE(); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPInternal.cpp
r63047 r63566 475 475 while (pCur) 476 476 { 477 /* @todo:*/477 /** @todo */ 478 478 Assert(!pCur->u.Data); 479 479 Assert(!pFirst); … … 498 498 Assert(!pCur->u.Data); 499 499 #if 0 /* Who is supposed to set pNext? */ 500 // TODO:use offset here500 /// @todo use offset here 501 501 pCur = pCur->u.pNext; 502 502 Assert(!pCur); … … 519 519 Assert(!pCur->u.Data); 520 520 #if 0 /* pLast has been asserted to be NULL, and who should set pNext? */ 521 // TODO:use offset here521 /// @todo use offset here 522 522 if(pLast) 523 523 pLast->u.pNext = pCur->u.pNext; … … 567 567 else 568 568 { 569 /* @todo*/569 /** @todo */ 570 570 } 571 571 } -
trunk/src/VBox/Additions/WINNT/Installer/VBoxDrvInst.cpp
r63091 r63566 601 601 int RegistryRemoveStringFromMultiSZ(const TCHAR *pszSubKey, const TCHAR *pszKeyValue, const TCHAR *pszValueToRemove) 602 602 { 603 // @todo Make string sizes dynamically allocated!603 /// @todo Make string sizes dynamically allocated! 604 604 605 605 const TCHAR *pszKey = pszSubKey; … … 913 913 914 914 /* Fixup end of multistring. */ 915 TCHAR szDepend[ _MAX_PATH ] = { 0 }; /* @todo Use dynamically allocated string here! */915 TCHAR szDepend[ _MAX_PATH ] = { 0 }; /** @todo Use dynamically allocated string here! */ 916 916 if (pszDependencies != NULL) 917 917 { -
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/file.c
r63078 r63566 251 251 ByteCount, ByteOffset, FileSize)); 252 252 253 /* @todo check if this is necessary. */253 /** @todo check if this is necessary. */ 254 254 #ifdef FCB_STATE_READCACHING_ENABLED /* Correct spelling for Vista 6001 SDK. */ 255 255 if (!FlagOn(capFcb->FcbState, FCB_STATE_READCACHING_ENABLED)) … … 268 268 } 269 269 270 /* @todo read 0 bytes == always success? */270 /** @todo read 0 bytes == always success? */ 271 271 if ( !BufferMdl 272 272 || ByteCount == 0) … … 373 373 ByteCount, ByteOffset, FileSize)); 374 374 375 /* @todo allow to write 0 bytes. */375 /** @todo allow to write 0 bytes. */ 376 376 if ( !BufferMdl 377 377 || ByteCount == 0) … … 469 469 470 470 case LOWIO_OP_UNLOCK_MULTIPLE: 471 /* @todo Remove multiple locks listed in LowIoContext.ParamsFor.Locks.LockList. */471 /** @todo Remove multiple locks listed in LowIoContext.ParamsFor.Locks.LockList. */ 472 472 Log(("VBOXSF: MRxLocks: Unsupported LOWIO_OP_UNLOCK_MULTIPLE!\n", 473 473 LowIoContext->Operation)); -
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/info.c
r63077 r63566 350 350 pInfo->EndOfFile.QuadPart = pDirEntry->Info.cbObject; 351 351 pInfo->EaSize = 0; 352 pInfo->ShortNameLength = 0; /* @todo ? */352 pInfo->ShortNameLength = 0; /** @todo ? */ 353 353 pInfo->FileIndex = index; 354 354 pInfo->FileAttributes = VBoxToNTFileAttributes(pDirEntry->Info.Attr.fMode); … … 398 398 pInfo->EndOfFile.QuadPart = pDirEntry->Info.cbObject; 399 399 pInfo->EaSize = 0; 400 pInfo->ShortNameLength = 0; /* @todo ? */400 pInfo->ShortNameLength = 0; /** @todo ? */ 401 401 pInfo->EaSize = 0; 402 402 pInfo->FileId.QuadPart = 0; … … 1146 1146 pInfo->AllocationSize.QuadPart = pFileEntry->cbAllocated; 1147 1147 pInfo->EndOfFile.QuadPart = pFileEntry->cbObject; 1148 pInfo->NumberOfLinks = 1; /* @todo 0? */1148 pInfo->NumberOfLinks = 1; /** @todo 0? */ 1149 1149 pInfo->DeletePending = FALSE; 1150 1150 -
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.c
r63087 r63566 543 543 DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = VBoxMRXDeviceControl; 544 544 545 /* @todo start the redirector here RxStartMiniRdr. */545 /** @todo start the redirector here RxStartMiniRdr. */ 546 546 547 547 Log(("VBOXSF: DriverEntry: Init successful!\n")); … … 1107 1107 cRemainingName -= 2; 1108 1108 1109 /* @todo should also check that the drive letter corresponds to the name. */1109 /** @todo should also check that the drive letter corresponds to the name. */ 1110 1110 if (vboxIsPrefixOK(pwc, cRemainingName * sizeof (WCHAR))) 1111 1111 Status = STATUS_SUCCESS; -
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsfhlp.c
r63073 r63566 229 229 230 230 default: 231 /* @todo error handling */231 /** @todo error handling */ 232 232 Status = STATUS_INVALID_PARAMETER; 233 233 Log(("Unexpected vbox error %Rrc\n", -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
r62522 r63566 379 379 else 380 380 { 381 const uint32_t cbPrealloc = 4096; /* @todo r=andy Make it dynamic for supporting larger text buffers! */381 const uint32_t cbPrealloc = 4096; /** @todo r=andy Make it dynamic for supporting larger text buffers! */ 382 382 uint32_t cb = 0; 383 383 -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp
r63549 r63566 1270 1270 if (pOp->pIf->enmMode == VBOXDISPIF_MODE_WDDM) 1271 1271 { 1272 /* @todo:do we need ti impl it? */1272 /** @todo do we need ti impl it? */ 1273 1273 *pfConnected = TRUE; 1274 1274 return ERROR_SUCCESS; … … 2039 2039 DWORD VBoxDispIfSwitchMode(PVBOXDISPIF pIf, VBOXDISPIF_MODE enmMode, VBOXDISPIF_MODE *penmOldMode) 2040 2040 { 2041 /* @todo:may need to addd synchronization in case we want to change modes dynamically2041 /** @todo may need to addd synchronization in case we want to change modes dynamically 2042 2042 * i.e. currently the mode is supposed to be initialized once on service initialization */ 2043 2043 if (penmOldMode) -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxDev-haiku.c
r62521 r63566 124 124 RTSpinlockAcquire(g_DevExt.SessionSpinlock); 125 125 126 /* @todo we don't know if it belongs to this session!! */126 /** @todo we don't know if it belongs to this session!! */ 127 127 if (sState.selectSync) 128 128 { -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.c
r62521 r63566 433 433 */ 434 434 pState->uIOPortBase = pDevice->u.h0.base_registers[0]; 435 /* @todo check flags for IO? */435 /** @todo check flags for IO? */ 436 436 if (pState->uIOPortBase) 437 437 { … … 440 440 */ 441 441 uint32 phys = pDevice->u.h0.base_registers[1]; 442 /* @todo Check flags for mem? */442 /** @todo Check flags for mem? */ 443 443 pState->VMMDevMemSize = pDevice->u.h0.base_register_sizes[1]; 444 444 pState->iVMMDevMemAreaId = map_physical_memory("VirtualBox Guest MMIO", phys, pState->VMMDevMemSize, -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibModule.cpp
r62842 r63566 69 69 # endif 70 70 #else 71 /** todo */71 /** @todo */ 72 72 pReq->enmGuestOS = VBOXOSFAMILY_Unknown; 73 73 #endif -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceStats.cpp
r62679 r63566 614 614 615 615 #else 616 /* todo:implement for other platforms. */616 /** @todo implement for other platforms. */ 617 617 618 618 #endif -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r63338 r63566 73 73 # include <unistd.h> 74 74 # if !defined(RT_OS_OS2) && !defined(RT_OS_FREEBSD) && !defined(RT_OS_HAIKU) 75 # include <utmpx.h> /* @todo FreeBSD 9 should have this. */75 # include <utmpx.h> /** @todo FreeBSD 9 should have this. */ 76 76 # endif 77 77 # ifdef RT_OS_OS2 … … 1107 1107 * Only AF_INET and no loopback interfaces 1108 1108 */ 1109 /** @todo :IPv6 interfaces */1109 /** @todo IPv6 interfaces */ 1110 1110 if ( pIfCurr->ifa_addr->sa_family == AF_INET 1111 1111 && !(pIfCurr->ifa_flags & IFF_LOOPBACK)) -
trunk/src/VBox/Additions/common/testcase/tstPageFusion.cpp
r62679 r63566 208 208 do 209 209 { 210 /** todo when changing this make sure VBoxService.exe is excluded! */210 /** @todo when changing this make sure VBoxService.exe is excluded! */ 211 211 char *pszDot = strrchr(ModuleInfo.szModule, '.'); 212 212 if ( pszDot … … 315 315 void VBoxServicePageSharingInspectGuest() 316 316 { 317 /* @todo other platforms */317 /** @todo other platforms */ 318 318 } 319 319 #endif … … 332 332 #endif 333 333 334 /* @todo report system name and version */334 /** @todo report system name and version */ 335 335 /* Never fail here. */ 336 336 return VINF_SUCCESS; -
trunk/src/VBox/Additions/darwin/vboxfs/VBoxVFS-VFSOps.cpp
r63526 r63566 439 439 && fRootVnodeState != VBOXVFS_OBJECT_INVALID) 440 440 { 441 /* @todo:Currently, we are burning CPU cycles while waiting. This is for a short441 /** @todo Currently, we are burning CPU cycles while waiting. This is for a short 442 442 * time but we should relax here! */ 443 443 fRootVnodeState = ASMAtomicReadU8(&pMount->fRootVnodeState); … … 529 529 VFSATTR_CLEAR_ACTIVE(pAttr, f_fssubtype); 530 530 531 /* todo:take care about f_capabilities and f_attributes, f_fsid */531 /** @todo take care about f_capabilities and f_attributes, f_fsid */ 532 532 VFSATTR_CLEAR_ACTIVE(pAttr, f_capabilities); 533 533 VFSATTR_CLEAR_ACTIVE(pAttr, f_attributes); 534 534 VFSATTR_CLEAR_ACTIVE(pAttr, f_fsid); 535 535 536 /* todo:take care about f_create_time, f_modify_time, f_access_time, f_backup_time */536 /** @todo take care about f_create_time, f_modify_time, f_access_time, f_backup_time */ 537 537 VFSATTR_CLEAR_ACTIVE(pAttr, f_create_time); 538 538 VFSATTR_CLEAR_ACTIVE(pAttr, f_modify_time); -
trunk/src/VBox/Additions/darwin/vboxfs/VBoxVFS-VNODEOps.cpp
r63526 r63566 101 101 //VATTR_CLEAR_ACTIVE(vnode_args, va_addedtime); 102 102 103 /* todo:take care about va_encoding (file name encoding) */103 /** @todo take care about va_encoding (file name encoding) */ 104 104 VATTR_CLEAR_ACTIVE(vnode_args, va_encoding); 105 /* todo:take care about: va_acl */105 /** @todo take care about: va_acl */ 106 106 VATTR_CLEAR_ACTIVE(vnode_args, va_acl); 107 107 … … 312 312 /* If vnode exist in guets VFS cache, but not exist on a host -- just forget it. */ 313 313 cache_purge(vnode); 314 /* todo:free vnode data here */314 /** @todo free vnode data here */ 315 315 rc = ENOENT; 316 316 } -
trunk/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c
r62524 r63566 154 154 mp->mnt_data = pShFlGlobalInfo; 155 155 156 /* @todo root vnode. */156 /** @todo root vnode. */ 157 157 158 158 vfs_getnewfsid(mp); -
trunk/src/VBox/Additions/haiku/SharedFolders/vboxsf.c
r62526 r63566 57 57 { 58 58 #if 0 59 /* @todo enable this soon */59 /** @todo enable this soon */ 60 60 int rc = get_module(VBOXGUEST_MODULE_NAME, (module_info **)&g_VBoxGuest); 61 61 if (RT_LIKELY(rc == B_OK) … … 766 766 767 767 uint32_t l = *length; 768 void* other_buffer = malloc(l); /* @todo map the user memory into kernel space here for efficiency */768 void* other_buffer = malloc(l); /** @todo map the user memory into kernel space here for efficiency */ 769 769 int rc = VbglR0SfRead(&g_clientHandle, &volume->map, cookie->handle, pos, &l, other_buffer, false /*fLocked*/); 770 770 memcpy(buffer, other_buffer, l); … … 787 787 788 788 uint32_t l = *length; 789 void* other_buffer = malloc(l); /* @todo map the user memory into kernel space here for efficiency */789 void* other_buffer = malloc(l); /** @todo map the user memory into kernel space here for efficiency */ 790 790 memcpy(other_buffer, buffer, l); 791 791 int rc = VbglR0SfWrite(&g_clientHandle, &volume->map, cookie->handle, pos, &l, other_buffer, false /*fLocked*/); … … 899 899 900 900 901 /* @todo move this into the runtime */901 /** @todo move this into the runtime */ 902 902 status_t vbox_err_to_haiku_err(int rc) 903 903 { -
trunk/src/VBox/Additions/haiku/VBoxMouse/VBoxMouseFilter.cpp
r62526 r63566 62 62 #include <iprt/err.h> 63 63 64 /* @todo can this be merged with VBoxMouse? */64 /** @todo can this be merged with VBoxMouse? */ 65 65 66 66 RTDECL(BInputServerFilter *) -
trunk/src/VBox/Additions/haiku/VBoxVideo/accelerant/accelerant.cpp
r62526 r63566 282 282 status_t vboxvideo_get_mode_list(display_mode *dm) 283 283 { 284 // TODOreturn some standard modes here284 /// @todo return some standard modes here 285 285 TRACE("%s\n", __FUNCTION__); 286 286 return vboxvideo_get_display_mode(dm); -
trunk/src/VBox/Additions/haiku/VBoxVideo/driver/driver.cpp
r62526 r63566 278 278 return B_BAD_VALUE; 279 279 280 /* @todo init device! */280 /** @todo init device! */ 281 281 282 282 *cookie = (void *)&gDeviceInfo; … … 301 301 if (di.openCount <= 1) 302 302 { 303 // TODOdeinit device!303 /// @todo deinit device! 304 304 delete_area(di.sharedArea); 305 305 di.sharedArea = -1; -
trunk/src/VBox/Additions/solaris/Virtio/Virtio-solaris.c
r62529 r63566 191 191 AssertReturn(pQueue->Ring.cDesc > 0, NULL); 192 192 193 /* @todo enable interrupt. */193 /** @todo enable interrupt. */ 194 194 195 195 return pQueue; -
trunk/src/VBox/Additions/solaris/Virtio/VirtioNet-solaris.c
r62529 r63566 362 362 PVIRTIODEVICE pDevice = pvArg; 363 363 364 /* @todo ncookies handles? */364 /** @todo ncookies handles? */ 365 365 int rc = ddi_dma_alloc_handle(pDevice->pDip, &g_VirtioNetBufDmaAttr, 366 366 fFlags & KM_NOSLEEP ? DDI_DMA_DONTWAIT : DDI_DMA_SLEEP, … … 468 468 pMacRegHandle->m_type_ident = MAC_PLUGIN_IDENT_ETHER; 469 469 pMacRegHandle->m_min_sdu = 0; 470 pMacRegHandle->m_max_sdu = 1500; /* @todo verify */471 /* @todo should we set the margin size? */470 pMacRegHandle->m_max_sdu = 1500; /** @todo verify */ 471 /** @todo should we set the margin size? */ 472 472 pMacRegHandle->m_src_addr = pNet->MacAddr.au8; 473 473 -
trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp
r62883 r63566 360 360 } 361 361 362 /** todo Make this iterative. */362 /** @todo Make this iterative. */ 363 363 Window xHelpers::applicationWindowBelowCursor(Window wndParent) const 364 364 {
Note:
See TracChangeset
for help on using the changeset viewer.