git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7258 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/MdeModulePkg/Library/DxeDpcLib/DpcLib.c b/MdeModulePkg/Library/DxeDpcLib/DpcLib.c
index 41f5427..904c1cd 100644
--- a/MdeModulePkg/Library/DxeDpcLib/DpcLib.c
+++ b/MdeModulePkg/Library/DxeDpcLib/DpcLib.c
@@ -51,10 +51,10 @@
 /**

   Add a Deferred Procedure Call to the end of the DPC queue.

 

-  @param  DpcTpl        The EFI_TPL that the DPC should be invoked.

-  @param  DpcProcedure  Pointer to the DPC's function.

-  @param  DpcContext    Pointer to the DPC's context.  Passed to DpcProcedure

-                        when DpcProcedure is invoked.

+  @param[in]  DpcTpl        The EFI_TPL that the DPC should be invoked.

+  @param[in]  DpcProcedure  Pointer to the DPC's function.

+  @param[in]  DpcContext    Pointer to the DPC's context.  Passed to DpcProcedure

+                            when DpcProcedure is invoked.

 

   @retval EFI_SUCCESS            The DPC was queued.

   @retval EFI_INVALID_PARAMETER  DpcTpl is not a valid EFI_TPL.

@@ -68,7 +68,7 @@
 QueueDpc (

   IN EFI_TPL            DpcTpl,

   IN EFI_DPC_PROCEDURE  DpcProcedure,

-  IN VOID               *DpcContext

+  IN VOID               *DpcContext    OPTIONAL

   )

 {

   //

diff --git a/MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf b/MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
index d03e2dd..6c0731e 100644
--- a/MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
+++ b/MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
@@ -1,18 +1,16 @@
-#/** @file

-# Component name for module DxeDpcLib

-#

-# Copyright (c) 2007, 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

-#

-#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

-#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

-#

-#

-#**/

+/** @file

+  Component name for module DxeDpcLib.

+

+Copyright (c) 2007, Intel Corporation.<BR>

+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

+

+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

+

+**/

 

 [Defines]

   INF_VERSION                    = 0x00010005