Separate memory allocation for FPDT S3 performance table and boot performance table, save S3 performance table pointer to LockBox in FirmwarePerformanceDxe. Then FirmwarePerformancePei can use the pointer in LockBox.
Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14369 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# for Firmware Basic Boot Performance Record and other boot performance records,
|
||||
# and install FPDT to ACPI table.
|
||||
#
|
||||
# Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
# which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -48,11 +48,15 @@
|
||||
MemoryAllocationLib
|
||||
PcdLib
|
||||
HobLib
|
||||
LockBoxLib
|
||||
UefiLib
|
||||
|
||||
[Protocols]
|
||||
gEfiAcpiTableProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiRscHandlerProtocolGuid ## CONSUMES
|
||||
gEfiSmmCommunicationProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiVariableArchProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiLockBoxProtocolGuid ## SOMETIMES_CONSUMES
|
||||
|
||||
[Guids]
|
||||
gEfiEventExitBootServicesGuid ## CONSUMES
|
||||
@@ -65,6 +69,7 @@
|
||||
gEfiFirmwarePerformanceGuid ## SOMETIMES_CONSUMES ## Hob
|
||||
gEfiFirmwarePerformanceGuid ## SOMETIMES_CONSUMES ## SmiHandler
|
||||
gEfiFirmwarePerformanceGuid ## SOMETIMES_CONSUMES ## StatusCode Data
|
||||
gFirmwarePerformanceS3PointerGuid ## SOMETIMES_PRODUCES # SaveLockBox
|
||||
|
||||
[Pcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad
|
||||
|
Reference in New Issue
Block a user