]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/BaseCacheMaintenanceLib: Support IA32 processors without CLFLUSH
authorMichael Kinney <michael.d.kinney@intel.com>
Mon, 27 Apr 2015 19:35:32 +0000 (19:35 +0000)
committermdkinney <mdkinney@Edk2>
Mon, 27 Apr 2015 19:35:32 +0000 (19:35 +0000)
Use CPUID Leaf 01 to detect support for CLFLUSH instruction.
If CLFLUSH is supported, use CPUID to determine the cache line size to use with CLFLUSH.

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@17211 6f19259b-4bc3-4df7-8a09-765794883524


No differences found