]>
Commit | Line | Data |
---|---|---|
88f20127 | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2006 - 2007, Intel Corporation\r | |
4 | All rights reserved. This program and the accompanying materials\r | |
5 | are licensed and made available under the terms and conditions of the BSD License\r | |
6 | which accompanies this distribution. The full text of the license may be found at\r | |
7 | http://opensource.org/licenses/bsd-license.php\r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | BaseMemoryTest.h\r | |
15 | \r | |
16 | Abstract:\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 | |
30 | typedef struct _PEI_BASE_MEMORY_TEST_PPI PEI_BASE_MEMORY_TEST_PPI;\r | |
31 | \r | |
32 | typedef enum {\r | |
33 | Ignore,\r | |
34 | Quick,\r | |
35 | Sparse,\r | |
36 | Extensive\r | |
37 | } PEI_MEMORY_TEST_OP;\r | |
38 | \r | |
39 | typedef\r | |
40 | EFI_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 | |
50 | struct _PEI_BASE_MEMORY_TEST_PPI {\r | |
51 | PEI_BASE_MEMORY_TEST BaseMemoryTest;\r | |
52 | };\r | |
53 | \r | |
54 | extern EFI_GUID gPeiBaseMemoryTestPpiGuid;\r | |
55 | \r | |
56 | #endif\r |