Changeset 42035 in vbox
- Timestamp:
- Jul 6, 2012 3:58:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp
r42025 r42035 221 221 memset(pvDst, '\0', cb); 222 222 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) } }; 224 224 IOMemoryDescriptor *pMemDesc = IOMemoryDescriptor::withAddressRanges(&aRanges[0], RT_ELEMENTS(aRanges), 225 225 kIODirectionIn, NULL /*task*/);
Note:
See TracChangeset
for help on using the changeset viewer.