VirtualBox

Changeset 4223 in vbox


Ignore:
Timestamp:
Aug 19, 2007 1:02:11 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23717
Message:

bugfixes.

Location:
trunk/src/VBox/Runtime/r0drv/nt
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/memobj-r0drv-nt.cpp

    r4222 r4223  
    152152        case RTR0MEMOBJTYPE_MAPPING:
    153153        {
    154             Assert(pMemNt->Core.pv);
     154            Assert(pMemNt->cMdls == 0 && pMemNt->Core.pv);
    155155            PRTR0MEMOBJNT pMemNtParent = (PRTR0MEMOBJNT)pMemNt->Core.uRel.Child.pParent;
    156156            Assert(pMemNtParent);
    157157            if (pMemNtParent->cMdls)
    158158            {
    159                 Assert(pMemNt->cMdls == 1 && pMemNt->apMdls[0]);
    160159                Assert(pMemNtParent->cMdls == 1 && pMemNtParent->apMdls[0]);
    161160                Assert(     pMemNt->Core.u.Mapping.R0Process == NIL_RTR0PROCESS
     
    167166                Assert(     pMemNtParent->Core.enmType == RTR0MEMOBJTYPE_PHYS
    168167                       &&   !pMemNtParent->Core.u.Phys.fAllocated);
     168                Assert(pMemNt->Core.u.Mapping.R0Process == NIL_RTR0PROCESS);
    169169                MmUnmapIoSpace(pMemNt->Core.pv, pMemNt->Core.cb);
    170170            }
     
    631631                                                    R0Process == NIL_RTR0PROCESS ? KernelMode : UserMode,
    632632                                                    MmCached,
    633                                                     pvFixed == (void *)-1 ? pvFixed : NULL,
     633                                                    pvFixed != (void *)-1 ? pvFixed : NULL,
    634634                                                    FALSE /* no bug check on failure */,
    635635                                                    NormalPagePriority);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette