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