Changeset 77256 in vbox for trunk/src/VBox/Runtime/common/dvm/dvmgpt.cpp
- Timestamp:
- Feb 11, 2019 12:19:52 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128763
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dvm/dvmgpt.cpp
r76553 r77256 493 493 static DECLCALLBACK(uint64_t) rtDvmFmtGptVolumeGetFlags(RTDVMVOLUMEFMT hVolFmt) 494 494 { 495 NOREF(hVolFmt); /* No supported flags for now. */ 496 return 0; 495 NOREF(hVolFmt); 496 return DVMVOLUME_F_CONTIGUOUS; 497 } 498 499 static DECLCALLBACK(int) rtDvmFmtGptVolumeQueryRange(RTDVMVOLUMEFMT hVolFmt, uint64_t *poffStart, uint64_t *poffEnd) 500 { 501 PRTDVMVOLUMEFMTINTERNAL pVol = hVolFmt; 502 *poffStart = pVol->offStart; 503 *poffEnd = pVol->offStart + pVol->cbVolume - 1; 504 return VINF_SUCCESS; 497 505 } 498 506 … … 563 571 /* pfnVolumeGetFlags */ 564 572 rtDvmFmtGptVolumeGetFlags, 573 /* pfnVolumeQueryRange */ 574 rtDvmFmtGptVolumeQueryRange, 565 575 /* pfnVolumeIsRangeIntersecting */ 566 576 rtDvmFmtGptVolumeIsRangeIntersecting,
Note:
See TracChangeset
for help on using the changeset viewer.