]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/GenericMemoryTest.h
Update prototype of DxeLoadCore().
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / GenericMemoryTest.h
index 9fcdffac94ea30af209c82d790c8c6ef53cb2009..87959ed73a1cf8e885041dcebb47d013c2c4b072 100644 (file)
@@ -1,6 +1,5 @@
 /** @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
@@ -46,8 +45,8 @@ typedef enum {
 **/\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
@@ -71,11 +70,12 @@ EFI_STATUS
                               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
@@ -97,7 +97,7 @@ EFI_STATUS
 **/\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
@@ -110,15 +110,14 @@ EFI_STATUS
   @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