[gccsdk] mmap

Michael Grunditz michael.grunditz at gmail.com
Mon Nov 26 07:53:19 PST 2018


void* mmapResult = mmap(NULL, BLOCK_SIZE + extra, PROT_READ |
PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);

Fails with : Cannot allocate ram. BLOCK_SIZE is 64k and extra is 0.

This error is from my "new" OWB codebase. Exactly the same mmap
succeeds in old code.

I have experimented with wimpslot , but no luck.

Please CC me when replying.

Michael



More information about the gcc mailing list