[FFmpeg-devel] [PATCH] define _DARWIN_C_SOURCE for MAP_ANON
Wed Jul 21 19:47:00 CEST 2010
2010/7/21 M?ns Rullg?rd <mans at mansr.com>:
> Ramiro Polla <ramiro.polla at gmail.com> writes:
>> 2010/7/21 M?ns Rullg?rd <mans at mansr.com>:
>>> BTW, the dyncode thing is missing a cache sync operation.
>> Could you please elaborate on this?
> After writing the code, the D-cache must be flushed and the I-cache
> invalidated. ?There is usually no automatic coherency between them.
Something like in attached patch? (not thoroughly tested, I'd just
like to know if this is the right way to go). Is something equivalent
needed for linux or will mprotect do it automatically?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1948 bytes
Desc: not available
More information about the ffmpeg-devel