]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/PiSmmCpuDxeSmm: Correct CPUID leaf used to detect SMM mode
authorMichael Kinney <michael.d.kinney@intel.com>
Thu, 24 Dec 2015 00:13:54 +0000 (00:13 +0000)
committermdkinney <mdkinney@Edk2>
Thu, 24 Dec 2015 00:13:54 +0000 (00:13 +0000)
commite9b3a6c926a65f568c1a736dfc6e9957cc7cf3de
tree955a65ce175128ae456f25c05f2549117e947887
parent3eed6dda20149609ceb8b50318a780f1a1422341
UefiCpuPkg/PiSmmCpuDxeSmm: Correct CPUID leaf used to detect SMM mode

Use Bit 29 of CPUID leaf CPUID_EXTENDED_CPU_SIG (0x80000001) to
determine the SMM save state mode.  The previous version of this
code used CPUID leaf CPUID_VERSION_INFO (0x00000001).

Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19503 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c