NetworkPkg/DpcDxe: Fix few typos

Fix few typos in comments and documentation.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-36-philmd@redhat.com>
This commit is contained in:
Antoine Coeur 2020-02-07 02:07:48 +01:00 committed by mergify[bot]
parent 81a46615f5
commit d80c3d6e19
3 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@ EFI_DPC_PROTOCOL mDpc = {
}; };
// //
// Global variables used to meaasure the DPC Queue Depths // Global variables used to measure the DPC Queue Depths
// //
UINTN mDpcQueueDepth = 0; UINTN mDpcQueueDepth = 0;
UINTN mMaxDpcQueueDepth = 0; UINTN mMaxDpcQueueDepth = 0;
@ -42,7 +42,7 @@ UINTN mMaxDpcQueueDepth = 0;
LIST_ENTRY mDpcEntryFreeList = INITIALIZE_LIST_HEAD_VARIABLE(mDpcEntryFreeList); LIST_ENTRY mDpcEntryFreeList = INITIALIZE_LIST_HEAD_VARIABLE(mDpcEntryFreeList);
// //
// An array of DPC queues. A DPC queue is allocated for every leval EFI_TPL value. // An array of DPC queues. A DPC queue is allocated for every level EFI_TPL value.
// As DPCs are queued, they are added to the end of the linked list. // As DPCs are queued, they are added to the end of the linked list.
// As DPCs are dispatched, they are removed from the beginning of the linked list. // As DPCs are dispatched, they are removed from the beginning of the linked list.
// //
@ -299,7 +299,7 @@ DpcDispatchDpc (
@param ImageHandle The image handle of the driver. @param ImageHandle The image handle of the driver.
@param SystemTable The system table. @param SystemTable The system table.
@retval EFI_SUCCES The DPC queues were initialized and the EFI_DPC_PROTOCOL was @retval EFI_SUCCESS The DPC queues were initialized and the EFI_DPC_PROTOCOL was
installed onto a new handle. installed onto a new handle.
@retval Others Failed to install EFI_DPC_PROTOCOL. @retval Others Failed to install EFI_DPC_PROTOCOL.

View File

@ -24,7 +24,7 @@ Abstract:
#include <Protocol/Dpc.h> #include <Protocol/Dpc.h>
// //
// Internal data struture for managing DPCs. A DPC entry is either on the free // Internal data structure for managing DPCs. A DPC entry is either on the free
// list or on a DPC queue at a specific EFI_TPL. // list or on a DPC queue at a specific EFI_TPL.
// //
typedef struct { typedef struct {

View File

@ -20,7 +20,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
} }
// //
// Forward reference for pure ANSI compatability // Forward reference for pure ANSI compatibility
// //
typedef struct _EFI_DPC_PROTOCOL EFI_DPC_PROTOCOL; typedef struct _EFI_DPC_PROTOCOL EFI_DPC_PROTOCOL;