Wednesday, 28 November 2018

Re: [gccsdk] mmap

On 26/11/2018 15:53, Michael Grunditz wrote:
> 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.

That error is not from Unixlib. Best thing to do is to search your
code base for the error and see what leads to it being generated.

Lee.

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment