From 2b75e8cd093afeb1377dbdaa80a24e96e49f099b Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Thu, 2 Jul 2015 04:27:32 +0000 Subject: MdeModulePkg: SecurityManagementLib to handle LoadFile DevicePath UEFI Spec HTTP Boot Device Path, after retrieving the boot resource information, the BootURI device path node will be updated to include the BootURI information. It means the device path on the child handle will be updated after the LoadFile() service is called. To handle this case, SecurityManagementLib ExecuteSecurityHandlers API is updated as the below: 1) Get Device handle based on Device Path 2) Call LoadFile() service (GetFileBufferByFilePath() API) to get Load File Buffer. 3) Retrieve DevicePath from Device handle Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Reviewed-by: Ruiyu Ni git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17797 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf') diff --git a/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf b/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf index 60ac8e79f2..0f8a13b99d 100644 --- a/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf +++ b/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf @@ -3,7 +3,7 @@ # # This library provides generic security measurement functions for DXE module. # -# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -41,4 +41,8 @@ MemoryAllocationLib DebugLib DxeServicesLib - + DevicePathLib + UefiBootServicesTableLib + +[Protocols] + gEfiLoadFileProtocolGuid ## SOMETIMES_CONSUMES -- cgit v1.2.3