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