Hi, > Not sure why InternalAllocateBuffer() doesn't update mReservedMemBitmap > itself. That would be needed to protect the allocation code paths with > InterlockedCompareExchange32() too.
Not a straight forward conversion, current code copies around bitmap snippets, so this logic needs a rewrite to work with InterlockedCompareExchange32(). Don't have the time to do that now (leaving tomorrow for my three week summer vacation ...). take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107095): https://edk2.groups.io/g/devel/message/107095 Mute This Topic: https://groups.io/mt/100251949/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-