]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c
Update code to support VS2013 tool chain.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / DxeMain / DxeProtocolNotify.c
index c140d9fc30fafc41eb9754612a833a300f3dfe3e..034520c5c6d33535f49bd223c633169bacb48c52 100644 (file)
@@ -3,8 +3,8 @@
   the Dxe Core. The mArchProtocols[] array represents a list of\r
   events that represent the Architectural Protocols.\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2014, 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
 http://opensource.org/licenses/bsd-license.php\r
@@ -45,6 +45,7 @@ EFI_CORE_PROTOCOL_NOTIFY_ENTRY  mArchProtocols[] = {
 // Optional protocols that the DXE Core will use if they are present\r
 //\r
 EFI_CORE_PROTOCOL_NOTIFY_ENTRY  mOptionalProtocols[] = {\r
+  { &gEfiSecurity2ArchProtocolGuid,        (VOID **)&gSecurity2,     NULL, NULL, FALSE },\r
   { &gEfiSmmBase2ProtocolGuid,             (VOID **)&gSmmBase2,      NULL, NULL, FALSE },\r
   { NULL,                                  (VOID **)NULL,            NULL, NULL, FALSE }\r
 };\r
@@ -121,6 +122,8 @@ GenericProtocolNotify (
   LIST_ENTRY                      *Link;\r
   LIST_ENTRY                      TempLinkNode;\r
 \r
+  Protocol = NULL;\r
+\r
   //\r
   // Get Entry from Context\r
   //\r
@@ -206,6 +209,8 @@ GenericProtocolNotify (
   Creates an event for each entry in a table that is fired everytime a Protocol \r
   of a specific type is installed.\r
 \r
+  @param Entry  Pointer to EFI_CORE_PROTOCOL_NOTIFY_ENTRY.\r
+\r
 **/\r
 VOID\r
 CoreNotifyOnProtocolEntryTable (\r