summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxeDpcLib
diff options
context:
space:
mode:
authorywu21 <ywu21@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-13 08:47:31 +0000
committerywu21 <ywu21@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-13 08:47:31 +0000
commit96858792992feb06677ebc29276d0d0965b2a195 (patch)
treef42e965349f0a838234c685b6b87903ce811fd6e /MdeModulePkg/Library/DxeDpcLib
parentc92e277d99335fa827994e410a3dc0830904a264 (diff)
downloadedk2-platforms-96858792992feb06677ebc29276d0d0965b2a195.tar.xz
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7258 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxeDpcLib')
-rw-r--r--MdeModulePkg/Library/DxeDpcLib/DpcLib.c10
-rw-r--r--MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf28
2 files changed, 18 insertions, 20 deletions
diff --git a/MdeModulePkg/Library/DxeDpcLib/DpcLib.c b/MdeModulePkg/Library/DxeDpcLib/DpcLib.c
index 41f54276d6..904c1cd5d4 100644
--- a/MdeModulePkg/Library/DxeDpcLib/DpcLib.c
+++ b/MdeModulePkg/Library/DxeDpcLib/DpcLib.c
@@ -51,10 +51,10 @@ DpcLibConstructor (
/**
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 @@ EFIAPI
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 d03e2dd9b9..6c0731ed06 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