]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuDxe/CpuPageTable.c
UefiCpuPkg/CpuDxe: Remove MSR_IA32_MISC_ENABLE check
authorJeff Fan <jeff.fan@intel.com>
Wed, 15 Mar 2017 01:47:52 +0000 (09:47 +0800)
committerJeff Fan <jeff.fan@intel.com>
Fri, 17 Mar 2017 05:55:12 +0000 (13:55 +0800)
commit01eb3f39bbcc5b6474d69cff3922be8eb1856636
treef30eb739a013a3e45389b12916a8a66d8c6a346e
parent78807f605082ecec60c3b465a6e6f3e01741bf2c
UefiCpuPkg/CpuDxe: Remove MSR_IA32_MISC_ENABLE check

The architectural MSR MSR_IA32_MISC_ENABLE is not supported by AMD processors.
Because reading CPUID.80000001H:EDK[20] is enough to check if XD feature is
supported or not, we just remove checking MSR_IA32_MISC_ENABLE(0x1A0).

Cc: Anthony PERARD <anthony.perard@citrix.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Tested-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
UefiCpuPkg/CpuDxe/CpuPageTable.c