+++ /dev/null
-/** @file\r
- Internal include file for support of memory test in PEI Phase.\r
-\r
-Copyright (c) 2006 - 2008, 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
-\r
-#ifndef _PEI_BASE_MEMORY_TEST_H_\r
-#define _PEI_BASE_MEMORY_TEST_H_\r
-\r
-#include <PiPei.h>\r
-#include <Ppi/BaseMemoryTest.h>\r
-#include <Library/DebugLib.h>\r
-#include <Library/PeimEntryPoint.h>\r
-#include <Library/ReportStatusCodeLib.h>\r
-#include <Library/PcdLib.h>\r
-#include <Library/PeiServicesLib.h>\r
-\r
-#define COVER_SPAN 0x40000\r
-#define TEST_PATTERN 0x5A5A5A5A\r
-\r
-/**\r
- Test base memory.\r
-\r
- @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.\r
- @param This Pointer to this PPI instance.\r
- @param BeginAddress Beginning of the memory address to be checked.\r
- @param MemoryLength Bytes of memory range to be checked.\r
- @param Operation Type of memory check operation to be performed.\r
- @param ErrorAddress Pointer to address of the error memory returned.\r
-\r
- @retval EFI_SUCCESS Memory test passed.\r
- @retval EFI_DEVICE_ERROR Memory test failed.\r
-\r
-**/ \r
-EFI_STATUS\r
-EFIAPI\r
-BaseMemoryTest (\r
- IN EFI_PEI_SERVICES **PeiServices,\r
- IN PEI_BASE_MEMORY_TEST_PPI *This,\r
- IN EFI_PHYSICAL_ADDRESS BeginAddress,\r
- IN UINT64 MemoryLength,\r
- IN PEI_MEMORY_TEST_OP Operation,\r
- OUT EFI_PHYSICAL_ADDRESS *ErrorAddress\r
- );\r
-\r
-#endif\r