VirtualBox

Changeset 4755 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Sep 13, 2007 8:05:08 AM (17 years ago)
Author:
vboxsync
Message:

Reverse allocation for Windows hosts: physical pages are allocated in the support driver and mapped into user space
VMM: Use locked memory for the MM pagepool structures.

File:
1 edited

Legend:

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

    r4233 r4755  
    187187                         && pMem->u.Mapping.R0Process != NIL_RTR0PROCESS)
    188188                    ||  (   pMem->enmType == RTR0MEMOBJTYPE_LOCK
     189                         && pMem->u.Lock.R0Process != NIL_RTR0PROCESS)
     190                    ||  (   pMem->enmType == RTR0MEMOBJTYPE_PHYS_NC
    189191                         && pMem->u.Lock.R0Process != NIL_RTR0PROCESS)
    190192                    ||  (   pMem->enmType == RTR0MEMOBJTYPE_RES_VIRT
     
    467469        R0Process = RTR0ProcHandleSelf();
    468470
    469     /* do the allocation. */
     471    /* do the locking. */
    470472    return rtR0MemObjNativeLockUser(pMemObj, R3PtrAligned, cbAligned, R0Process);
    471473}
Note: See TracChangeset for help on using the changeset viewer.

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