1 /*++
2 
3   Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>
4 
5 
6   This program and the accompanying materials are licensed and made available under
7 
8   the terms and conditions of the BSD License that accompanies this distribution.
9 
10   The full text of the license may be found at
11 
12   http://opensource.org/licenses/bsd-license.php.
13 
14 
15 
16   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 
18   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 
20 
21 
22 
23 Module Name:
24 
25   BaseMemoryTest.h
26 
27 Abstract:
28 
29   Pei memory test PPI as defined in Tiano
30 
31   Used to Pei memory test in PEI
32 
33 --*/
34 
35 #ifndef _BASE_MEMORY_TEST_H_
36 #define _BASE_MEMORY_TEST_H_
37 
38 typedef struct _PEI_MFG_MEMORY_TEST_PPI PEI_MFG_MEMORY_TEST_PPI;
39 
40 typedef
41 EFI_STATUS
42 (EFIAPI *PEI_MFG_MEMORY_TEST) (
43   IN  CONST EFI_PEI_SERVICES                   **PeiServices,
44   IN  PEI_MFG_MEMORY_TEST_PPI            * This,
45   IN  UINT32                             BeginAddress,
46   IN  UINT32                             MemoryLength
47   );
48 
49 typedef struct _PEI_MFG_MEMORY_TEST_PPI {
50   PEI_MFG_MEMORY_TEST  MfgMemoryTest;
51 }PEI_MFG_MEMORY_TEST_PPI;
52 
53 
54 extern EFI_GUID gPeiMfgMemoryTestPpiGuid;
55 
56 #endif
57