]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/DxeMain.h
MdeModulePkg/Core: Fix typos in comments
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / DxeMain.h
index aefeeb7d399bc672a1e000cd56462f7d0e8fc50a..327d23a952347d3dfbf4295e9a8cf05a389835f3 100644 (file)
@@ -109,8 +109,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 \r
 ///\r
-/// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy expression\r
-///                        to save time.  A EFI_DEP_PUSH is evauated one an\r
+/// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependency expression\r
+///                        to save time.  A EFI_DEP_PUSH is evaluated one an\r
 ///                        replaced with EFI_DEP_REPLACE_TRUE. If PI spec's Vol 2\r
 ///                        Driver Execution Environment Core Interface use 0xff\r
 ///                        as new DEPEX opcode. EFI_DEP_REPLACE_TRUE should be\r
@@ -141,7 +141,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #else\r
 ///\r
-/// For genric EFI machines make the default allocations 4K aligned\r
+/// For generic EFI machines make the default allocations 4K aligned\r
 ///\r
 #define EFI_ACPI_RUNTIME_PAGE_ALLOCATION_ALIGNMENT  (EFI_PAGE_SIZE)\r
 #define DEFAULT_PAGE_ALLOCATION                     (EFI_PAGE_SIZE)\r
@@ -246,9 +246,9 @@ typedef struct {
   UINTN                       ExitDataSize;   \r
   /// Pointer to exit data from started image\r
   VOID                        *ExitData;      \r
-  /// Pointer to pool allocation for context save/retore\r
+  /// Pointer to pool allocation for context save/restore\r
   VOID                        *JumpBuffer;    \r
-  /// Pointer to buffer for context save/retore\r
+  /// Pointer to buffer for context save/restore\r
   BASE_LIBRARY_JUMP_BUFFER    *JumpContext;  \r
   /// Machine type from PE image\r
   UINT16                      Machine;        \r
@@ -256,7 +256,7 @@ typedef struct {
   EFI_EBC_PROTOCOL            *Ebc;           \r
   /// Runtime image list\r
   EFI_RUNTIME_IMAGE_ENTRY     *RuntimeData;   \r
-  /// Pointer to Loaded Image Device Path Protocl\r
+  /// Pointer to Loaded Image Device Path Protocol\r
   EFI_DEVICE_PATH_PROTOCOL    *LoadedImageDevicePath;  \r
   /// PeCoffLoader ImageContext\r
   PE_COFF_LOADER_IMAGE_CONTEXT  ImageContext; \r
@@ -445,7 +445,7 @@ CoreNotifyOnProtocolInstallation (
 \r
 \r
 /**\r
-  Return TRUE if all AP services are availible.\r
+  Return TRUE if all AP services are available.\r
 \r
   @retval EFI_SUCCESS    All AP services are available\r
   @retval EFI_NOT_FOUND  At least one AP service is not available\r
@@ -473,7 +473,7 @@ CalculateEfiHdrCrc (
 /**\r
   Called by the platform code to process a tick.\r
 \r
-  @param  Duration               The number of 100ns elasped since the last call\r
+  @param  Duration               The number of 100ns elapsed since the last call\r
                                  to TimerTick\r
 \r
 **/\r
@@ -1097,7 +1097,7 @@ CoreLocateDevicePath (
   @retval EFI_NOT_FOUND          No handles match the search.\r
   @retval EFI_OUT_OF_RESOURCES   There is not enough pool memory to store the\r
                                  matching results.\r
-  @retval EFI_INVALID_PARAMETER  One or more paramters are not valid.\r
+  @retval EFI_INVALID_PARAMETER  One or more parameters are not valid.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -1458,7 +1458,7 @@ CoreLoadImage (
                                   unloaded.\r
 \r
   @retval EFI_SUCCESS             The image has been unloaded.\r
-  @retval EFI_UNSUPPORTED         The image has been sarted, and does not support\r
+  @retval EFI_UNSUPPORTED         The image has been started, and does not support\r
                                   unload.\r
   @retval EFI_INVALID_PARAMPETER  ImageHandle is not a valid image handle.\r
 \r