]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | This file declares Read-only Variable Service PPI\r | |
3 | \r | |
4 | Copyright (c) 2006 - 2007, Intel Corporation \r | |
5 | All rights reserved. This program and the accompanying materials \r | |
6 | are licensed and made available under the terms and conditions of the BSD License \r | |
7 | which accompanies this distribution. The full text of the license may be found at \r | |
8 | http://opensource.org/licenses/bsd-license.php \r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
12 | \r | |
13 | Module Name: ReadOnlyVariable.h\r | |
14 | \r | |
15 | @par Revision Reference:\r | |
16 | This PPI is defined in PI\r | |
17 | Version 1.00.\r | |
18 | \r | |
19 | **/\r | |
20 | \r | |
21 | #ifndef __PEI_READ_ONLY_VARIABLE2_PPI_H__\r | |
22 | #define __PEI_READ_ONLY_VARIABLE2_PPI_H__\r | |
23 | \r | |
24 | #define EFI_PEI_READ_ONLY_VARIABLE2_PPI_GUID \\r | |
25 | { 0x2ab86ef5, 0xecb5, 0x4134, { 0xb5, 0x56, 0x38, 0x54, 0xca, 0x1f, 0xe1, 0xb4 } }\r | |
26 | \r | |
27 | \r | |
28 | typedef struct _EFI_PEI_READ_ONLY_VARIABLE2_PPI EFI_PEI_READ_ONLY_VARIABLE2_PPI;\r | |
29 | \r | |
30 | /**\r | |
31 | Read the specified variable from the UEFI variable store. If the Data \r | |
32 | buffer is too small to hold the contents of the variable, \r | |
33 | the error EFI_BUFFER_TOO_SMALL is returned and DataSize is set to the\r | |
34 | required buffer size to obtain the data.\r | |
35 | \r | |
36 | @param This A pointer to this instance of the EFI_PEI_READ_ONLY_VARIABLE2_PPI.\r | |
37 | \r | |
38 | Content-type: text/html ]>