]> git.proxmox.com Git - mirror_edk2.git/commit
Fix InternalMemScanMem* functions so that they return the pointer to the matched...
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 7 Jan 2011 23:00:16 +0000 (23:00 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 7 Jan 2011 23:00:16 +0000 (23:00 +0000)
commitaf072124e4f2f004f2200d765a72efb7c97c9aec
treea75c50d2062a71fb839d1f557a9ad920203cec37
parent2183cf235350694f05b9a18ac9ca26f1efbe1106
Fix InternalMemScanMem* functions so that they return the pointer to the matched object, as specified, instead of the following object.
Replaces the fix instituted in rev. 10821 with a more understandable, sustainable, and efficient fix that behaves the same regardless of compiler.

Reviewed by two peers.
Fixes HSD tracker 204556.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11237 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BaseMemoryLib/MemLibGeneric.c