summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/AutoGen/AutoGen.py
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-07-07 09:29:12 +0200
committerLaszlo Ersek <lersek@redhat.com>2016-07-15 07:33:59 +0200
commite3e3090a959a0242134238d8fe5cb8dcee08e115 (patch)
treef249295bdce56f723029250db6724eb7a4b2fe6a /BaseTools/Source/Python/AutoGen/AutoGen.py
parent51773d49de84e7f1d7b1f1c39c45a7c0fb4198d5 (diff)
downloadedk2-platforms-e3e3090a959a0242134238d8fe5cb8dcee08e115.tar.xz
OvmfPkg/PlatformPei: create one memory HOB at S3 resume too, for CpuMpPei
CpuMpPei will have to place the AP startup vector in memory under 1MB. For this, CpuMpPei borrows memory under 1MB, but it needs a memory resource descriptor HOB to exist there even on the S3 resume path (see the GetWakeupBuffer() function). Produce such a HOB as an exception on the S3 resume path. CpuMpPei is going be dispatched no earlier than PlatformPei, because CpuMpPei has a depex on gEfiPeiMemoryDiscoveredPpiGuid, and PlatformPei calls PublishSystemMemory(). Cc: Jeff Fan <jeff.fan@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/AutoGen.py')
0 files changed, 0 insertions, 0 deletions