Changeset 92246 in vbox for trunk/src/VBox/Runtime/r0drv/nt/memobj-r0drv-nt.cpp
- Timestamp:
- Nov 6, 2021 3:10:49 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/memobj-r0drv-nt.cpp
r91483 r92246 283 283 if (pMemNt) 284 284 { 285 pMemNt->Core.fFlags |= RTR0MEMOBJ_FLAGS_ZERO_AT_ALLOC; 285 286 pMemNt->fAllocatedPagesForMdl = true; 286 287 pMemNt->cMdls = 1; … … 333 334 if (pMemNt) 334 335 { 336 pMemNt->Core.fFlags |= RTR0MEMOBJ_FLAGS_UNINITIALIZED_AT_ALLOC; 335 337 pMemNt->cMdls = 1; 336 338 pMemNt->apMdls[0] = pMdl; … … 441 443 if (pMemNt) 442 444 { 445 pMemNt->Core.fFlags |= RTR0MEMOBJ_FLAGS_ZERO_AT_ALLOC; 443 446 pMemNt->fAllocatedPagesForMdl = true; 444 447 pMemNt->cMdls = 1; … … 525 528 if (pMemNt) 526 529 { 530 pMemNt->Core.fFlags |= RTR0MEMOBJ_FLAGS_ZERO_AT_ALLOC; 527 531 pMemNt->fAllocatedPagesForMdl = true; 528 532 pMemNt->cMdls = 1; … … 607 611 if (pMemNt) 608 612 { 613 pMemNt->Core.fFlags |= RTR0MEMOBJ_FLAGS_UNINITIALIZED_AT_ALLOC; 609 614 pMemNt->Core.u.Cont.Phys = (RTHCPHYS)*MmGetMdlPfnArray(pMdl) << PAGE_SHIFT; 610 615 pMemNt->cMdls = 1; … … 668 673 if (pMemNt) 669 674 { 675 pMemNt->Core.fFlags |= RTR0MEMOBJ_FLAGS_ZERO_AT_ALLOC; 670 676 pMemNt->Core.u.Phys.fAllocated = true; 671 677 pMemNt->Core.u.Phys.PhysBase = (RTHCPHYS)paPfns[0] << PAGE_SHIFT; … … 705 711 if (pMemNt) 706 712 { 713 pMemNt->Core.fFlags |= RTR0MEMOBJ_FLAGS_ZERO_AT_ALLOC; 707 714 pMemNt->fAllocatedPagesForMdl = true; 708 715 pMemNt->cMdls = 1;
Note:
See TracChangeset
for help on using the changeset viewer.