]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c
UefiCpuPkg/RegisterCpuFeaturesLib: Define Index to UINT64
authorJeff Fan <jeff.fan@intel.com>
Thu, 23 Mar 2017 04:55:26 +0000 (12:55 +0800)
committerJeff Fan <jeff.fan@intel.com>
Mon, 27 Mar 2017 08:18:00 +0000 (16:18 +0800)
commit98387f54ae7fcdc2badb90e39be0e9d8b37855c9
tree30ce3da91aff60a723a8406a5bfb076e4d9a3679
parent0027921b1be4b41a766c982615b4ed5a4868d318
UefiCpuPkg/RegisterCpuFeaturesLib: Define Index to UINT64

The input parameter Index of PreSmmCpuRegisterTableWrite() and
CpuRegisterTableWrite() is defined as UINT32. Index is MSR/MMIO address that
will be saved in CPU register table. UINT32 blocks the MMIO address > 4GB.

This fix is to define Index to UINT64 instead of UINT32.

Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h
UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c