VirtualBox

Changeset 26840 in vbox for trunk


Ignore:
Timestamp:
Feb 26, 2010 12:46:58 PM (15 years ago)
Author:
vboxsync
Message:

Runtime/nt: In rtR0MemObjNativeAllocPhys() don't use MmAllocatePagesForMdl.() if there are special alignment requirements

File:
1 edited

Legend:

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

    r26455 r26840  
    401401     * current limit is kind of random...
    402402     */
    403     if (cb < _128K)
     403    if (cb < _128K
     404        && (uAlignment == 0 || uAlignment == PAGE_SIZE))
     405
    404406    {
    405407        PHYSICAL_ADDRESS Zero;
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