SO I am trying my hand at the virtualalloc stuff but then on a mac, originally I imagined it would just be the same as linux, which supposedly uses mmap for that. http://en.wikipedia.org/wiki/Mmap
sadly that doesn't work on osx, (mmap: Operation not supported by device)
I cannot really find any alternative either.
can anyone point me to a solution ?