VirtualBox

Changeset 42035 in vbox


Ignore:
Timestamp:
Jul 6, 2012 3:58:54 AM (12 years ago)
Author:
vboxsync
Message:

r0drv/darwin/memobj: RT_ALIGN_Z.

File:
1 edited

Legend:

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

    r42025 r42035  
    221221    memset(pvDst, '\0', cb);
    222222
    223     IOAddressRange      aRanges[1]  = { { (mach_vm_address_t)HCPhys, RT_ALIGN(cb, PAGE_SIZE) } };
     223    IOAddressRange      aRanges[1]  = { { (mach_vm_address_t)HCPhys, RT_ALIGN_Z(cb, PAGE_SIZE) } };
    224224    IOMemoryDescriptor *pMemDesc    = IOMemoryDescriptor::withAddressRanges(&aRanges[0], RT_ELEMENTS(aRanges),
    225225                                                                            kIODirectionIn, NULL /*task*/);
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