]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
UefiCpuPkg/CpuS3DataDxe: Move StartupVector allocation to EndOfDxe()
authorJeff Fan <jeff.fan@intel.com>
Wed, 20 Jul 2016 14:18:32 +0000 (22:18 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 17 Aug 2016 11:57:32 +0000 (19:57 +0800)
commit65b24ada794b8f7d8afb964dca49fd87cbe032e2
tree934739b2e0b9eddd6910a0c731fe7c34d809a80f
parent5aa2d576679681f876898577b72581500d2da15f
UefiCpuPkg/CpuS3DataDxe: Move StartupVector allocation to EndOfDxe()

Currently, we will allocate StartupVector buffer under 1MB at entry point
function. But some modules may allocate some hard code address under 1MB.
For example, LegacyBiosDxe driver tries to manage some legacy range under
640KB.

To avoid the conflicts, we move StartupVector buffer allocation to End Of
DXE event callback function.

v4:
  Update the Context parameter is used as a pointer to AcpiCpuDataEx, then
  we needn't to add the global variable.

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Michael Kinney <michael.d.kinney@intel.com>
UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c
UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf