MdePkg/BaseXApicX2ApicLib: Support IA32 processors without MSR_IA32_APIC_BASE_ADDRESS
authorMichael Kinney <michael.d.kinney@intel.com>
Mon, 27 Apr 2015 19:48:00 +0000 (19:48 +0000)
committermdkinney <mdkinney@Edk2>
Mon, 27 Apr 2015 19:48:00 +0000 (19:48 +0000)
commite9cd66d0859f63ec6aab2b1ac863fe72b65fe474
tree6be85b236d37335bdada00b5d2b4271420fc8aec
parent59d67246dbbe3f0fe29bc46c65f8ea4a6828cb2a
MdePkg/BaseXApicX2ApicLib: Support IA32 processors without MSR_IA32_APIC_BASE_ADDRESS

Use Family from CPUID 01 to detect support for the Local APIC Base Address MSR (MSR_IA32_APIC_BASE_ADDRESS).
If this MSR is not supported, then use Local APIC Base Address from the PCD PcdCpuLocalApicBaseAddress.

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@17217 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c
UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf