summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxeDpcLib/DpcLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Library/DxeDpcLib/DpcLib.c')
-rw-r--r--MdeModulePkg/Library/DxeDpcLib/DpcLib.c10
1 files changed, 5 insertions, 5 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
)
{
//