VirtualBox

Changeset 21497 in vbox for trunk/src/VBox/Runtime/r0drv/nt


Ignore:
Timestamp:
Jul 10, 2009 8:24:18 PM (16 years ago)
Author:
vboxsync
Message:

RTR0MemObj*: correctly reject unsupported alignment requirements (VERR_NOT_SUPPORTED).

File:
1 edited

Legend:

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

    r20525 r21497  
    654654
    655655    /*
     656     * Check that the specified alignment is supported.
     657     */
     658    if (uAlignment > PAGE_SIZE)
     659        return VERR_NOT_SUPPORTED;
     660
     661    /*
    656662     * There are two basic cases here, either we've got an MDL and can
    657663     * map it using MmMapLockedPages, or we've got a contiguous physical
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