]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/DpcDxe/Dpc.c
BaseTools:Change the path of the file that Binary Cache
[mirror_edk2.git] / MdeModulePkg / Universal / Network / DpcDxe / Dpc.c
index b6a82612cc21870af3e7211cde2373edf5341528..8a490949dc8ca408420fb3ef6d053dd5eaf00f8a 100644 (file)
@@ -1,13 +1,7 @@
 /** @file\r
 \r
-Copyright (c) 2007, Intel Corporation\r
-All rights reserved. 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
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 Module Name:\r
 \r
@@ -299,29 +293,23 @@ DpcDispatchDpc (
   return ReturnStatus;\r
 }\r
 \r
+/**\r
+  The entry point for DPC driver which installs the EFI_DPC_PROTOCOL onto a new handle.\r
+\r
+  @param  ImageHandle            The image handle of the driver.\r
+  @param  SystemTable            The system table.\r
+\r
+  @retval EFI_SUCCES             The DPC queues were initialized and the EFI_DPC_PROTOCOL was\r
+                                 installed onto a new handle.\r
+  @retval Others                 Failed to install EFI_DPC_PROTOCOL.\r
+\r
+**/\r
 EFI_STATUS\r
 EFIAPI\r
 DpcDriverEntryPoint (\r
   IN EFI_HANDLE        ImageHandle,\r
   IN EFI_SYSTEM_TABLE  *SystemTable\r
   )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  The entry point for DPC driver which installs the EFI_DPC_PROTOCOL onto a new handle.\r
-\r
-Arguments:\r
-\r
-  ImageHandle - The image handle of the driver.\r
-  SystemTable - The system table.\r
-\r
-Returns:\r
-\r
-  EFI_SUCCESS - The DPC queues were initialized and the EFI_DPC_PROTOCOL was\r
-                installed onto a new handle.\r
-\r
---*/\r
 {\r
   EFI_STATUS  Status;\r
   UINTN       Index;\r
@@ -343,7 +331,7 @@ Returns:
   //\r
   Status = gBS->InstallMultipleProtocolInterfaces (\r
                   &mDpcHandle,\r
-                  &gEfiDpcProtocolGuid, \r
+                  &gEfiDpcProtocolGuid,\r
                   &mDpc,\r
                   NULL\r
                   );\r