diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-19 08:26:33 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-19 08:26:33 +0000 |
commit | 05177bef4474c8ff9c82e3fe40176ba9a59f9277 (patch) | |
tree | a69e320ec3ad98f693ff2eb29788e696f6cb967d /MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.h | |
parent | aced30c670a675e62af6692d417bfcf4462415a4 (diff) | |
download | edk2-platforms-05177bef4474c8ff9c82e3fe40176ba9a59f9277.tar.xz |
Rename the MemoryTest Pei and Dxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3361 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.h')
-rw-r--r-- | MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.h | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.h b/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.h new file mode 100644 index 0000000000..ed6081af11 --- /dev/null +++ b/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.h @@ -0,0 +1,95 @@ +/*++
+
+Copyright (c) 2006 - 2007, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ BaseMemoryTest.h
+
+Abstract:
+
+ Tiano PEIM to provide a PEI memory test service.
+
+--*/
+
+#ifndef _PEI_BASE_MEMORY_TEST_H_
+#define _PEI_BASE_MEMORY_TEST_H_
+
+#include <PiPei.h>
+#include <Ppi/BaseMemoryTest.h>
+#include <Library/DebugLib.h>
+#include <Library/PeimEntryPoint.h>
+#include <Library/ReportStatusCodeLib.h>
+#include <Library/PcdLib.h>
+
+
+//
+// Some global define
+//
+#define COVER_SPAN 0x40000
+#define TEST_PATTERN 0x5A5A5A5A
+
+EFI_STATUS
+EFIAPI
+PeiBaseMemoryTestInit (
+ IN EFI_FFS_FILE_HEADER *FfsHeader,
+ IN EFI_PEI_SERVICES **PeiServices
+ )
+/*++
+
+Routine Description:
+
+ TODO: Add function description
+
+Arguments:
+
+ FfsHeader - TODO: add argument description
+ PeiServices - TODO: add argument description
+
+Returns:
+
+ TODO: add return values
+
+--*/
+;
+
+EFI_STATUS
+EFIAPI
+BaseMemoryTest (
+ IN EFI_PEI_SERVICES **PeiServices,
+ IN PEI_BASE_MEMORY_TEST_PPI *This,
+ IN EFI_PHYSICAL_ADDRESS BeginAddress,
+ IN UINT64 MemoryLength,
+ IN PEI_MEMORY_TEST_OP Operation,
+ OUT EFI_PHYSICAL_ADDRESS *ErrorAddress
+ )
+/*++
+
+Routine Description:
+
+ TODO: Add function description
+
+Arguments:
+
+ PeiServices - TODO: add argument description
+ This - TODO: add argument description
+ BeginAddress - TODO: add argument description
+ MemoryLength - TODO: add argument description
+ Operation - TODO: add argument description
+ ErrorAddress - TODO: add argument description
+
+Returns:
+
+ TODO: add return values
+
+--*/
+;
+
+#endif
|