]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/AcpiCpuData.h: Support >4GB MMIO address
authorJeff Fan <jeff.fan@intel.com>
Thu, 23 Mar 2017 05:19:49 +0000 (13:19 +0800)
committerJeff Fan <jeff.fan@intel.com>
Mon, 27 Mar 2017 08:18:04 +0000 (16:18 +0800)
commit30b7a50bacee2a33cf9c708169f7c872a6ef00b2
tree54e0c8abfb7cad8f648114b8b345cd5a88f75ff6
parent98387f54ae7fcdc2badb90e39be0e9d8b37855c9
UefiCpuPkg/AcpiCpuData.h: Support >4GB MMIO address

The current CPU_REGISTER_TABLE_ENTRY structure only defined UINT32 Index to
indicate MSR/MMIO address. It's ok for MSR because MSR address is UINT32 type
actually. But for MMIO address, UINT32 limits MMIO address exceeds 4GB.

This update on CPU_REGISTER_TABLE_ENTRY is to add additional UINT32 field
HighIndex to indicate the high 32bit MMIO address and original Index still
indicate the low 32bit MMIO address.

This update makes use of original padding space between ValidBitLength and
Value to add HighIndex.

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/AcpiCpuData.h
UefiCpuPkg/Library/RegisterCpuFeaturesLib/CpuFeaturesInitialize.c
UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c
UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c