1## @file
2# Module produce EFI_PEI_READ_ONLY_VARIABLE2_PPI on top of EFI_PEI_READ_ONLY_VARIABLE_PPI .
3#
4# UEFI PI Spec supersedes Intel's Framework Specs.
5# EFI_PEI_READ_ONLY_VARIABLE_PPI defined in Intel Framework Pkg is replaced by EFI_PEI_READ_ONLY_VARIABLE2_PPI
6# in MdePkg.
7# This module produces EFI_PEI_READ_ONLY_VARIABLE2_PPI on top of EFI_PEI_READ_ONLY_VARIABLE_PPI .
8# This module is used on platform when both of these two conditions are true:
9# 1) Framework module produces EFI_PEI_READ_ONLY_VARIABLE_PPI is present.
10# 2) The platform has PI modules that consumes EFI_PEI_READ_ONLY_VARIABLE2_PPI.
11#
12# This module can't be used together with ReadOnlyVariableOnReadOnlyVariable2Thunk module.
13#
14#
15# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
16#
17#  This program and the accompanying materials
18#  are licensed and made available under the terms and conditions of the BSD License
19#  which accompanies this distribution. The full text of the license may be found at
20#  http://opensource.org/licenses/bsd-license.php
21#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
22#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
23#
24#
25##
26
27[Defines]
28  INF_VERSION                    = 0x00010005
29  BASE_NAME                      = ReadOnlyVariable2OnReadOnlyVariableThunk
30  FILE_GUID                      = 950216A2-A621-479c-A13D-2990617BDFE7
31  MODULE_TYPE                    = PEIM
32  VERSION_STRING                 = 1.0
33
34  ENTRY_POINT                    = PeimInitializeReadOnlyVariable2
35
36#
37# The following information is for reference only and not required by the build tools.
38#
39#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
40#
41
42[Sources]
43  ReadOnlyVariable2OnReadOnlyVariableThunk.c
44
45[Packages]
46  MdePkg/MdePkg.dec
47  EdkCompatibilityPkg/EdkCompatibilityPkg.dec
48  IntelFrameworkPkg/IntelFrameworkPkg.dec
49
50[LibraryClasses]
51  PeimEntryPoint
52  PeiServicesLib
53  PeiServicesTablePointerLib
54  DebugLib
55
56[Ppis]
57  gEfiPeiReadOnlyVariablePpiGuid                 # PPI ALWAYS_CONSUMED
58  gEfiPeiReadOnlyVariable2PpiGuid                # PPI ALWAYS_PRODUCED
59
60[Depex]
61  gEfiPeiReadOnlyVariablePpiGuid
62