]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.c
MdeModulePkg: SecurityManagementLib to handle LoadFile DevicePath
authorLiming Gao <liming.gao@intel.com>
Thu, 2 Jul 2015 04:27:32 +0000 (04:27 +0000)
committerlgao4 <lgao4@Edk2>
Thu, 2 Jul 2015 04:27:32 +0000 (04:27 +0000)
commit2b75e8cd093afeb1377dbdaa80a24e96e49f099b
treea3e549abef885cdf015e3f160280a405d4859ccb
parent5015bee226c293c32c9ef2cc7669826edb5a0aed
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 <liming.gao@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17797 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.c
MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf