]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/BaseMemoryTestLibNull/BaseMemoryTestLibNull.c
Remove library class of MemoryTestLib and related library instances.
[mirror_edk2.git] / MdeModulePkg / Library / BaseMemoryTestLibNull / BaseMemoryTestLibNull.c
diff --git a/MdeModulePkg/Library/BaseMemoryTestLibNull/BaseMemoryTestLibNull.c b/MdeModulePkg/Library/BaseMemoryTestLibNull/BaseMemoryTestLibNull.c
deleted file mode 100644 (file)
index 747fc16..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-/** @file\r
-  Null instance of Memory Test Library.\r
-  \r
-Copyright (c) 2009, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-**/\r
-\r
-#include <Base.h>\r
-#include <Library/MemoryTestLib.h>\r
-\r
-/**\r
-  Perform a quick system memory range test.\r
-\r
-  This function performs a quick system memory range test. It leads to quick performance\r
-  but least reliability.\r
-\r
-  @param  StartAddress           Start address of the memory range to test.\r
-  @param  Length                 Length of the memory range to test.\r
-  @param  ErrorAddress           Address of the memory where error is encountered.\r
-\r
-  @retval RETURN_SUCCESS         The memory range passes test.\r
-  @retval RETURN_DEVICE_ERROR    The memory range does not pass test.\r
-\r
-**/\r
-RETURN_STATUS\r
-EFIAPI\r
-QuickMemoryTest (\r
-  IN  VOID      *StartAddress,\r
-  IN  UINT64    Length,\r
-  OUT VOID      **ErrorAddress\r
-  )\r
-{\r
-  return RETURN_SUCCESS;\r
-}\r
-\r
-/**\r
-  Test a system memory range with sparsely sampled memory units.\r
-\r
-  This function tests a system memory range, whose memory units\r
-  are sampled sparsely. It leads to relatively good performance\r
-  and partial reliability.\r
-\r
-  @param  StartAddress           Start address of the memory range to test.\r
-  @param  Length                 Length of the memory range to test.\r
-  @param  ErrorAddress           Address of the memory where error is encountered.\r
-\r
-  @retval RETURN_SUCCESS         The memory range passes test.\r
-  @retval RETURN_DEVICE_ERROR    The memory range does not pass test.\r
-\r
-**/\r
-RETURN_STATUS\r
-EFIAPI\r
-SparseMemoryTest (\r
-  IN  VOID      *StartAddress,\r
-  IN  UINT64    Length,\r
-  OUT VOID      **ErrorAddress\r
-  )\r
-{\r
-  return RETURN_SUCCESS;\r
-}\r
-\r
-/**\r
-  Test a system memory range with extensively sampled memory units.\r
-\r
-  This function tests a system memory range, whose memory units\r
-  are sampled extensively. Compared with SparseMemoryTest, it achieves\r
-  more reliability and less performance.\r
-\r
-  @param  StartAddress           Start address of the memory range to test.\r
-  @param  Length                 Length of the memory range to test.\r
-  @param  ErrorAddress           Address of the memory where error is encountered.\r
-\r
-  @retval RETURN_SUCCESS         The memory range passes test.\r
-  @retval RETURN_DEVICE_ERROR    The memory range does not pass test.\r
-\r
-**/\r
-RETURN_STATUS\r
-EFIAPI\r
-ExtensiveMemoryTest (\r
-  IN  VOID      *StartAddress,\r
-  IN  UINT64    Length,\r
-  OUT VOID      **ErrorAddress\r
-  )\r
-{\r
-  return RETURN_SUCCESS;\r
-}\r
-\r
-/**\r
-  Check if soft ECC initialzation is needed for system\r
-\r
-  @retval TRUE         Soft ECC initialzation is needed.\r
-  @retval FALSE        Soft ECC initialzation is not needed.\r
-\r
-**/\r
-BOOLEAN\r
-EFIAPI\r
-IsSoftEccInitRequired (\r
-  VOID\r
-  )\r
-{\r
-  return FALSE;\r
-}\r