New Mach VM API introduced in Mac OS X 10.4. The new API is essentially the same as the old API from a programmer’s point of view, with the following key differences:
The routine names have an example mach_ prefixfor , vm_allocate() becomes mach_vm_allocate() ;
The data types used in the routines have been updated to support both 64-bit and 32-bit tasks. Therefore, the new API can be used with any task.
New and old APIs are exported by various MIG subsystems: mach_vm and vm_map respectively. The corresponding header files are <mach/mach_vm.h> and <mach/vm_map.h> respectively.
Information obtained from the book OS X Internals System Approach.
source share