VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Library/DxePcdLib/DxePcdLib.inf@ 85716

Last change on this file since 85716 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 2.0 KB
Line 
1## @file
2# Instance of PCD Library using PCD Protocol.
3#
4# There are two PCD protocols as follows:
5# 1) PCD_PROTOCOL
6# It is EDKII implementation which support Dynamic/DynamicEx Pcds.
7# 2) EFI_PCD_PROTOCOL
8# It is defined by PI specification 1.2, Vol 3 which only support dynamicEx
9# type Pcd.
10#
11# For dynamicEx type PCD, it is compatible between PCD_PROTOCOL and EFI_PCD_PROTOCOL.
12#
13# This library instance uses the PCD_PROTOCOL to handle dynamic PCD request and use
14# EFI_PCD_PROTOCOL to handle dynamicEx type PCD.
15#
16# Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can only use this DxePcdLib
17# in their initialization without any issues to access Dynamic and DynamicEx PCD. They can't
18# access Dynamic and DynamicEx PCD in the implementation of runtime services and SMI handlers.
19# Because EFI_PCD_PROTOCOL is DXE protocol that is not aviable in OS runtime phase.
20#
21# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
22#
23# SPDX-License-Identifier: BSD-2-Clause-Patent
24#
25#
26##
27
28[Defines]
29 INF_VERSION = 0x00010005
30 BASE_NAME = DxePcdLib
31 MODULE_UNI_FILE = DxePcdLib.uni
32 FILE_GUID = af97eb89-4cc6-45f8-a514-ca025b346480
33 MODULE_TYPE = DXE_DRIVER
34 VERSION_STRING = 1.0
35 LIBRARY_CLASS = PcdLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER SMM_CORE UEFI_APPLICATION UEFI_DRIVER
36
37#
38# VALID_ARCHITECTURES = IA32 X64 EBC
39#
40
41[Sources]
42 DxePcdLib.c
43
44
45[Packages]
46 MdePkg/MdePkg.dec
47
48
49[LibraryClasses]
50 BaseMemoryLib
51 UefiBootServicesTableLib
52 DebugLib
53
54
55[Protocols]
56 gPcdProtocolGuid ## SOMETIMES_CONSUMES
57 gEfiPcdProtocolGuid ## CONSUMES
58 gGetPcdInfoProtocolGuid ## SOMETIMES_CONSUMES
59 gEfiGetPcdInfoProtocolGuid ## SOMETIMES_CONSUMES
60
61[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
62 gEfiPcdProtocolGuid
63
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette