]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Ppi/BaseMemoryTest/BaseMemoryTest.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Ppi / BaseMemoryTest / BaseMemoryTest.h
CommitLineData
3eb9473e 1/*++\r
2\r
f57387d5
HT
3Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 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 { \\r
7ccf38a3 29 0xb6ec423c, 0x21d2, 0x490d, {0x85, 0xc6, 0xdd, 0x58, 0x64, 0xea, 0xa6, 0x74} \\r
3eb9473e 30 }\r
31\r
32EFI_FORWARD_DECLARATION (PEI_BASE_MEMORY_TEST_PPI);\r
33\r
34typedef enum {\r
35 Ignore,\r
36 Quick,\r
37 Sparse,\r
38 Extensive\r
39} PEI_MEMORY_TEST_OP;\r
40\r
41typedef\r
42EFI_STATUS\r
43(EFIAPI *PEI_BASE_MEMORY_TEST) (\r
44 IN EFI_PEI_SERVICES **PeiServices,\r
45 IN PEI_BASE_MEMORY_TEST_PPI * This,\r
46 IN EFI_PHYSICAL_ADDRESS BeginAddress,\r
47 IN UINT64 MemoryLength,\r
48 IN PEI_MEMORY_TEST_OP Operation,\r
49 OUT EFI_PHYSICAL_ADDRESS * ErrorAddress\r
50 );\r
51\r
0e80e8f1 52struct _PEI_BASE_MEMORY_TEST_PPI {\r
3eb9473e 53 PEI_BASE_MEMORY_TEST BaseMemoryTest;\r
0e80e8f1 54};\r
3eb9473e 55\r
56extern EFI_GUID gPeiBaseMemoryTestPpiGuid;\r
57\r
58#endif\r