memalign under NTO

Is there a way to perform a memalign allocation under NTO ?


Alexandre Cottinet
Software Developer


Sent via Deja.com http://www.deja.com/
Before you buy.

Alexandre Cottinet <acottinet@my-deja.com> wrote:

Is there a way to perform a memalign allocation under NTO ?

Maybe something like:

ptr = mmap( 0, size, PROT_READ|PROT_WRITE|PROT_NOCACHE,
MAP_ANON|MAP_PHYS|MAP_NOX64K, NOFD, 0 );

(It will be allocated in units of the page size, which is 4K
at present, I think.)

-David