]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/CpuS3DataDxe: Consume the existing PcdCpuS3DataAddress
authorJeff Fan <jeff.fan@intel.com>
Tue, 7 Mar 2017 11:39:27 +0000 (19:39 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 22 Mar 2017 02:11:25 +0000 (10:11 +0800)
commit8b371e93f206e1b73f46e652eeefe40361e6cd35
tree472b881ac6ac1915e19a8fdeee5e853edca091e5
parent9cc45009ba7736eff2a61c7e7130d4d3c5d89f5b
UefiCpuPkg/CpuS3DataDxe: Consume the existing PcdCpuS3DataAddress

If PCD PcdCpuS3DataAddress is set before, CpuS3DataDxe should get RegisterTable
and PreSmmRegisterTable from existing PCD pointed buffer and needn't to allocate
new buffer for RegisterTable and PreSmmRegisterTable.

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/CpuS3DataDxe/CpuS3Data.c