MdePkg/BaseLib: Support IA32 processors without CLFLUSH
authorMichael Kinney <michael.d.kinney@intel.com>
Mon, 27 Apr 2015 19:37:15 +0000 (19:37 +0000)
committermdkinney <mdkinney@Edk2>
Mon, 27 Apr 2015 19:37:15 +0000 (19:37 +0000)
commit881813d7a93d9009c873515b043c41c4554779e4
tree263eb2947f3882e4ae3a3b7df905d14ddf3ae729
parentd2660fe32d000765cc5d370bdc4452fec9389b2a
MdePkg/BaseLib: Support IA32 processors without CLFLUSH

Use CPUID Leaf 01 to detect support for CLFLUSH instruction.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17212 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm
MdePkg/Library/BaseLib/Ia32/FlushCacheLine.c
MdePkg/Library/BaseLib/Ia32/GccInline.c