]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / MemoryTest / NullMemoryTestDxe / NullMemoryTest.c
index a9bd1015013104d99e63d9f609452f6fe67e4bba..51111b848f60b9a75fc33acaccae1b862197672f 100644 (file)
@@ -28,7 +28,7 @@ EFI_GENERIC_MEMORY_TEST_PROTOCOL  mGenericMemoryTest = {
 \r
 /**\r
   Entry point of the NULL memory test driver.\r
-  \r
+\r
   This function is the entry point of the NULL memory test driver.\r
   It simply installs the Generic Memory Test Protocol.\r
 \r
@@ -99,15 +99,15 @@ ConvertToTestedMemory (
   This function implements EFI_GENERIC_MEMORY_TEST_PROTOCOL.MemoryTestInit.\r
   It simply promotes untested reserved memory to system memory without real test.\r
 \r
-  @param  This                Protocol instance pointer. \r
-  @param  Level               The coverage level of the memory test. \r
-  @param  RequireSoftECCInit  Indicate if the memory need software ECC init. \r
+  @param  This                Protocol instance pointer.\r
+  @param  Level               The coverage level of the memory test.\r
+  @param  RequireSoftECCInit  Indicate if the memory need software ECC init.\r
 \r
-  @retval EFI_SUCCESS         The generic memory test initialized correctly. \r
-  @retval EFI_NO_MEDIA        There is not any non-tested memory found, in this \r
-                              function if not any non-tesed memory found means  \r
-                              that the memory test driver have not detect any \r
-                              non-tested extended memory of current system. \r
+  @retval EFI_SUCCESS         The generic memory test initialized correctly.\r
+  @retval EFI_NO_MEDIA        There is not any non-tested memory found, in this\r
+                              function if not any non-tesed memory found means\r
+                              that the memory test driver have not detect any\r
+                              non-tested extended memory of current system.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -158,20 +158,20 @@ InitializeMemoryTest (
   This function implements EFI_GENERIC_MEMORY_TEST_PROTOCOL.PerformMemoryTest.\r
   It simply returns EFI_NOT_FOUND.\r
 \r
-  @param  This                Protocol instance pointer. \r
-  @param  TestedMemorySize    Return the tested extended memory size. \r
-  @param  TotalMemorySize     Return the whole system physical memory size, this  \r
-                              value may be changed if in some case some error  \r
-                              DIMMs be disabled. \r
-  @param  ErrorOut            Any time the memory error occurs, this will be \r
-                              TRUE. \r
-  @param  IfTestAbort         Indicate if the user press "ESC" to skip the memory \r
-                              test. \r
-\r
-  @retval EFI_SUCCESS         One block of memory test ok, the block size is hide \r
-                              internally. \r
-  @retval EFI_NOT_FOUND       Indicate all the non-tested memory blocks have  \r
-                              already go through. \r
+  @param  This                Protocol instance pointer.\r
+  @param  TestedMemorySize    Return the tested extended memory size.\r
+  @param  TotalMemorySize     Return the whole system physical memory size, this\r
+                              value may be changed if in some case some error\r
+                              DIMMs be disabled.\r
+  @param  ErrorOut            Any time the memory error occurs, this will be\r
+                              TRUE.\r
+  @param  IfTestAbort         Indicate if the user press "ESC" to skip the memory\r
+                              test.\r
+\r
+  @retval EFI_SUCCESS         One block of memory test ok, the block size is hide\r
+                              internally.\r
+  @retval EFI_NOT_FOUND       Indicate all the non-tested memory blocks have\r
+                              already go through.\r
   @retval EFI_DEVICE_ERROR    Mis-compare error, and no agent can handle it\r
 \r
 **/\r
@@ -199,11 +199,11 @@ GenPerformMemoryTest (
   This function implements EFI_GENERIC_MEMORY_TEST_PROTOCOL.Finished.\r
   It simply returns EFI_SUCCESS.\r
 \r
-  @param  This                Protocol instance pointer. \r
+  @param  This                Protocol instance pointer.\r
 \r
-  @retval EFI_SUCCESS         Successful free all the generic memory test driver \r
-                              allocated resource and notify to platform memory \r
-                              test driver that memory test finished. \r
+  @retval EFI_SUCCESS         Successful free all the generic memory test driver\r
+                              allocated resource and notify to platform memory\r
+                              test driver that memory test finished.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -222,11 +222,11 @@ GenMemoryTestFinished (
   This function implements EFI_GENERIC_MEMORY_TEST_PROTOCOL.CompatibleRangeTest.\r
   It simply sets the memory range to system memory.\r
 \r
-  @param  This                Protocol instance pointer. \r
-  @param  StartAddress        The start address of the memory range. \r
-  @param  Length              The memory range's length. \r
-  \r
-  @retval EFI_SUCCESS           The compatible memory range pass the memory test. \r
+  @param  This                Protocol instance pointer.\r
+  @param  StartAddress        The start address of the memory range.\r
+  @param  Length              The memory range's length.\r
+\r
+  @retval EFI_SUCCESS           The compatible memory range pass the memory test.\r
   @retval EFI_INVALID_PARAMETER The compatible memory range must be below 16M.\r
 \r
 **/\r