/** @file\r
This driver produces Security2 and Security architectural protocol based on SecurityManagementLib.\r
\r
- Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/UefiDriverEntryPoint.h>\r
#include <Library/SecurityManagementLib.h>\r
+#include "Defer3rdPartyImageLoad.h"\r
\r
//\r
// Handle for the Security Architectural Protocol instance produced by this driver\r
IN BOOLEAN BootPolicy\r
)\r
{\r
+ EFI_STATUS Status;\r
+\r
+ if (FileBuffer != NULL) {\r
+ Status = Defer3rdPartyImageLoad (File, BootPolicy);\r
+ if (EFI_ERROR (Status)) {\r
+ return Status;\r
+ }\r
+ }\r
+\r
return ExecuteSecurity2Handlers (EFI_AUTH_OPERATION_VERIFY_IMAGE | \r
EFI_AUTH_OPERATION_DEFER_IMAGE_LOAD | \r
EFI_AUTH_OPERATION_MEASURE_IMAGE |\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
+ Defer3rdPartyImageLoadInitialize ();\r
+\r
return EFI_SUCCESS;\r
}\r