Fixed some issues for IA32 architecture platform build.
[mirror_edk2.git] / EdkModulePkg / Include / Ppi / BaseMemoryTest.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 BaseMemoryTest.h\r
15\r
16Abstract:\r
17\r
18 Pei memory test PPI as defined in Tiano\r
19\r
20 Used to Pei memory test in PEI\r
21\r
22--*/\r
23\r
24#ifndef _BASE_MEMORY_TEST_H_\r
25#define _BASE_MEMORY_TEST_H_\r
26\r
27#define PEI_BASE_MEMORY_TEST_GUID \\r
28 { 0xb6ec423c, 0x21d2, 0x490d, {0x85, 0xc6, 0xdd, 0x58, 0x64, 0xea, 0xa6, 0x74 } }\r
29\r
30typedef struct _PEI_BASE_MEMORY_TEST_PPI PEI_BASE_MEMORY_TEST_PPI;\r
31\r
32typedef enum {\r
33 Ignore,\r
34 Quick,\r
35 Sparse,\r
36 Extensive\r
37} PEI_MEMORY_TEST_OP;\r
38\r
39typedef\r
40EFI_STATUS\r
41(EFIAPI *PEI_BASE_MEMORY_TEST) (\r
42 IN EFI_PEI_SERVICES **PeiServices,\r
43 IN PEI_BASE_MEMORY_TEST_PPI * This,\r
44 IN EFI_PHYSICAL_ADDRESS BeginAddress,\r
45 IN UINT64 MemoryLength,\r
46 IN PEI_MEMORY_TEST_OP Operation,\r
47 OUT EFI_PHYSICAL_ADDRESS * ErrorAddress\r
48 );\r
49\r
50struct _PEI_BASE_MEMORY_TEST_PPI {\r
51 PEI_BASE_MEMORY_TEST BaseMemoryTest;\r
52};\r
53\r
54extern EFI_GUID gPeiBaseMemoryTestPpiGuid;\r
55\r
56#endif\r