X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxe%2FDxeMain%2FDxeProtocolNotify.c;h=034520c5c6d33535f49bd223c633169bacb48c52;hb=67ab389a76abd3e7c1dbab7b478440b84504b930;hp=a49f63e7c34f0ff3e64b9f63ae2d4267e54aa91a;hpb=12fbc893e46d70e19c0dc49aabb47ff044d01887;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c index a49f63e7c3..034520c5c6 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c +++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c @@ -3,8 +3,8 @@ the Dxe Core. The mArchProtocols[] array represents a list of events that represent the Architectural Protocols. -Copyright (c) 2006 - 2010, Intel Corporation.
-All rights reserved. This program and the accompanying materials +Copyright (c) 2006 - 2014, 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 which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -45,6 +45,7 @@ EFI_CORE_PROTOCOL_NOTIFY_ENTRY mArchProtocols[] = { // Optional protocols that the DXE Core will use if they are present // EFI_CORE_PROTOCOL_NOTIFY_ENTRY mOptionalProtocols[] = { + { &gEfiSecurity2ArchProtocolGuid, (VOID **)&gSecurity2, NULL, NULL, FALSE }, { &gEfiSmmBase2ProtocolGuid, (VOID **)&gSmmBase2, NULL, NULL, FALSE }, { NULL, (VOID **)NULL, NULL, NULL, FALSE } }; @@ -121,6 +122,8 @@ GenericProtocolNotify ( LIST_ENTRY *Link; LIST_ENTRY TempLinkNode; + Protocol = NULL; + // // Get Entry from Context //