]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Framework/Ppi/Variable/Variable.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Ppi / Variable / Variable.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 Variable.h\r
15 \r
16Abstract:\r
17\r
18 Read-only Variable Service PPI as defined in Tiano\r
19\r
20--*/\r
21\r
22#ifndef _PEI_READ_ONLY_VARIABLE_PPI_H\r
23#define _PEI_READ_ONLY_VARIABLE_PPI_H\r
24\r
25#include "EfiVariable.h"\r
26\r
27#define PEI_READ_ONLY_VARIABLE_ACCESS_PPI_GUID \\r
28 { \\r
7ccf38a3 29 0x3cdc90c6, 0x13fb, 0x4a75, {0x9e, 0x79, 0x59, 0xe9, 0xdd, 0x78, 0xb9, 0xfa} \\r
3eb9473e 30 }\r
31\r
32\r
33typedef\r
34EFI_STATUS\r
35(EFIAPI *PEI_GET_VARIABLE) (\r
36 IN EFI_PEI_SERVICES **PeiServices,\r
37 IN CHAR16 *VariableName,\r
38 IN EFI_GUID * VendorGuid,\r
39 OUT UINT32 *Attributes OPTIONAL,\r
40 IN OUT UINTN *DataSize,\r
41 OUT VOID *Data\r
42 );\r
43\r
44typedef\r
45EFI_STATUS\r
46(EFIAPI *PEI_GET_NEXT_VARIABLE_NAME) (\r
47 IN EFI_PEI_SERVICES **PeiServices,\r
48 IN OUT UINTN *VariableNameSize,\r
49 IN OUT CHAR16 *VariableName,\r
50 IN OUT EFI_GUID * VendorGuid\r
51 );\r
52\r
53typedef struct PEI_READ_ONLY_VARIABLE_PPI {\r
54 PEI_GET_VARIABLE PeiGetVariable;\r
55 PEI_GET_NEXT_VARIABLE_NAME PeiGetNextVariableName;\r
56} PEI_READ_ONLY_VARIABLE_PPI;\r
57\r
3eb9473e 58extern EFI_GUID gPeiReadOnlyVariablePpiGuid;\r
59\r
60#endif\r