/** @file\r
- The EFI generic memory test protocol interface.\r
- For more information please look at EfiMemoryTest.doc\r
+ This protocol defines the EFI generic memory test interfaces in Dxe phase.\r
\r
Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
All rights reserved. This program and the accompanying materials\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_MEMORY_TEST_INIT) (\r
- IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,\r
+(EFIAPI *EFI_MEMORY_TEST_INIT)(\r
+ IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,\r
IN EXTENDMEM_COVERAGE_LEVEL Level,\r
OUT BOOLEAN *RequireSoftECCInit\r
)\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
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_PERFORM_MEMORY_TEST) (\r
+(EFIAPI *EFI_PERFORM_MEMORY_TEST)(\r
IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,\r
OUT UINT64 *TestedMemorySize,\r
OUT UINT64 *TotalMemorySize,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_MEMORY_TEST_FINISHED) (\r
+(EFIAPI *EFI_MEMORY_TEST_FINISHED)(\r
IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This\r
)\r
;\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_DEVICE_ERROR The compatible memory range test find memory error \r
- and also return return the error address. \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
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_MEMORY_TEST_COMPATIBLE_RANGE) (\r
- IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,\r
+(EFIAPI *EFI_MEMORY_TEST_COMPATIBLE_RANGE)(\r
+ IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,\r
IN EFI_PHYSICAL_ADDRESS StartAddress,\r
IN UINT64 Length\r
)\r