summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/DpcDxe
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:07:48 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commitd80c3d6e1926b22c210562484711ac36ba986d94 (patch)
tree7f2a24b972795189fc4706c085bd27af832d41d4 /NetworkPkg/DpcDxe
parent81a46615f5bea7a455f2210e55cebb5a68dc0e13 (diff)
downloadedk2-d80c3d6e1926b22c210562484711ac36ba986d94.tar.gz
edk2-d80c3d6e1926b22c210562484711ac36ba986d94.tar.bz2
edk2-d80c3d6e1926b22c210562484711ac36ba986d94.zip
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>
Diffstat (limited to 'NetworkPkg/DpcDxe')
-rw-r--r--NetworkPkg/DpcDxe/Dpc.c6
-rw-r--r--NetworkPkg/DpcDxe/Dpc.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/NetworkPkg/DpcDxe/Dpc.c b/NetworkPkg/DpcDxe/Dpc.c
index 8a490949dc..7c85dd8757 100644
--- a/NetworkPkg/DpcDxe/Dpc.c
+++ b/NetworkPkg/DpcDxe/Dpc.c
@@ -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 mMaxDpcQueueDepth = 0;
@@ -42,7 +42,7 @@ UINTN mMaxDpcQueueDepth = 0;
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 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 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.
@retval Others Failed to install EFI_DPC_PROTOCOL.
diff --git a/NetworkPkg/DpcDxe/Dpc.h b/NetworkPkg/DpcDxe/Dpc.h
index 2017a215e3..a5e6f7b62f 100644
--- a/NetworkPkg/DpcDxe/Dpc.h
+++ b/NetworkPkg/DpcDxe/Dpc.h
@@ -24,7 +24,7 @@ Abstract:
#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.
//
typedef struct {