]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/GenericMemoryTest.h
Code scrube for MdeModule Definitions.
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / GenericMemoryTest.h
index 9fcdffac94ea30af209c82d790c8c6ef53cb2009..c5c4f245305c280e9c21566a111b072ef4260023 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
@@ -47,7 +46,7 @@ typedef enum {
 typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_MEMORY_TEST_INIT) (\r
-  IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,\r
+  IN EFI_GENERIC_MEMORY_TEST_PROTOCOL          *This,\r
   IN  EXTENDMEM_COVERAGE_LEVEL                 Level,\r
   OUT BOOLEAN                                  *RequireSoftECCInit\r
   )\r
@@ -71,6 +70,7 @@ 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
@@ -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
+  IN EFI_GENERIC_MEMORY_TEST_PROTOCOL          *This,\r
   IN  EFI_PHYSICAL_ADDRESS                     StartAddress,\r
   IN  UINT64                                   Length\r
   )\r