]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/DpcLib.h
MdeModulePkg/S3SmmInitDone.h: Fix copyright coding style error.
[mirror_edk2.git] / MdeModulePkg / Include / Library / DpcLib.h
index 7771afb680845cffc4bd4ec2f92a295b2f8dbdd7..41a49892fe3bd416b874e0801eb7d3ea80e10894 100644 (file)
@@ -1,37 +1,29 @@
 /** @file\r
+  DpcLib.h.\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
+Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under\r
+the terms and conditions of the BSD License that accompanies this distribution.\r
+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
 \r
-Module Name:\r
-\r
-  DpcLib.h\r
-\r
-Abstract:\r
-\r
-  Library for Deferred Procedure Calls.\r
-\r
 **/\r
 \r
 #ifndef _DPC_LIB_H_\r
 #define _DPC_LIB_H_\r
 \r
-#include <PiDxe.h>\r
 #include <Protocol/Dpc.h>\r
 \r
 /**\r
   Add a Deferred Procedure Call to the end of the DPC queue.\r
 \r
-  @param  DpcTpl        The EFI_TPL that the DPC should be invoked.\r
-  @param  DpcProcedure  Pointer to the DPC's function.\r
-  @param  DpcContext    Pointer to the DPC's context.  Passed to DpcProcedure\r
-                        when DpcProcedure is invoked.\r
+  @param[in]  DpcTpl        The EFI_TPL that the DPC should invoke.\r
+  @param[in]  DpcProcedure  The pointer to the DPC's function.\r
+  @param[in]  DpcContext    The pointer to the DPC's context.  Passed to DpcProcedure\r
+                            when DpcProcedure is invoked.\r
 \r
   @retval EFI_SUCCESS            The DPC was queued.\r
   @retval EFI_INVALID_PARAMETER  DpcTpl is not a valid EFI_TPL.\r
@@ -41,6 +33,7 @@ Abstract:
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 QueueDpc (\r
   IN EFI_TPL            DpcTpl,\r
   IN EFI_DPC_PROCEDURE  DpcProcedure,\r
@@ -48,7 +41,7 @@ QueueDpc (
   );\r
 \r
 /**\r
-  Dispatch the queue of DPCs.  ALL DPCs that have been queued with a DpcTpl\r
+  Dispatch the queue of DPCs. All DPCs that have been queued with a DpcTpl\r
   value greater than or equal to the current TPL are invoked in the order that\r
   they were queued.  DPCs with higher DpcTpl values are invoked before DPCs with\r
   lower DpcTpl values.\r
@@ -58,6 +51,7 @@ QueueDpc (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 DispatchDpc (\r
   VOID\r
   );\r