1 | ## @file
|
---|
2 | # NULL class library to register var check PCD handler.
|
---|
3 | #
|
---|
4 | # In platform *.fdf, the example build rule for the driver this library linked to.
|
---|
5 | # [Rule.Common.DXE_RUNTIME_DRIVER.VARCHECKPCD]
|
---|
6 | # FILE DRIVER = $(NAMED_GUID) {
|
---|
7 | # RAW BIN $(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/PcdVarCheck.bin
|
---|
8 | # DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
9 | # PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
10 | # UI STRING="$(MODULE_NAME)" Optional
|
---|
11 | # VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
12 | # }
|
---|
13 | #
|
---|
14 | # or
|
---|
15 | #
|
---|
16 | # [Rule.Common.DXE_SMM_DRIVER.VARCHECKPCD]
|
---|
17 | # FILE SMM = $(NAMED_GUID) {
|
---|
18 | # RAW BIN $(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/PcdVarCheck.bin
|
---|
19 | # DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
20 | # PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
21 | # UI STRING="$(MODULE_NAME)" Optional
|
---|
22 | # VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
23 | # }
|
---|
24 | #
|
---|
25 | # In platform *.dsc, also need add one line below to enable PcdVarCheck.bin generation by BaseTools.
|
---|
26 | # PCD_VAR_CHECK_GENERATION = TRUE
|
---|
27 | #
|
---|
28 | # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
|
---|
29 | #
|
---|
30 | # This program and the accompanying materials
|
---|
31 | # are licensed and made available under the terms and conditions
|
---|
32 | # of the BSD License which accompanies this distribution. The
|
---|
33 | # full text of the license may be found at
|
---|
34 | # http://opensource.org/licenses/bsd-license.php
|
---|
35 | #
|
---|
36 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
37 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
38 | #
|
---|
39 | ##
|
---|
40 |
|
---|
41 | [Defines]
|
---|
42 | INF_VERSION = 0x00010005
|
---|
43 | BASE_NAME = VarCheckPcdLib
|
---|
44 | MODULE_UNI_FILE = VarCheckPcdLib.uni
|
---|
45 | FILE_GUID = D4FA5311-5F1F-4B1E-9AC3-90C4DFC029F1
|
---|
46 | MODULE_TYPE = DXE_RUNTIME_DRIVER
|
---|
47 | VERSION_STRING = 1.0
|
---|
48 | LIBRARY_CLASS = NULL|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER
|
---|
49 | CONSTRUCTOR = VarCheckPcdLibNullClassConstructor
|
---|
50 |
|
---|
51 | [Sources]
|
---|
52 | VarCheckPcdLibNullClass.c
|
---|
53 | VarCheckPcdStructure.h
|
---|
54 |
|
---|
55 | [Packages]
|
---|
56 | MdePkg/MdePkg.dec
|
---|
57 | MdeModulePkg/MdeModulePkg.dec
|
---|
58 |
|
---|
59 | [LibraryClasses]
|
---|
60 | BaseLib
|
---|
61 | DebugLib
|
---|
62 | BaseMemoryLib
|
---|
63 | DxeServicesLib
|
---|
64 | MemoryAllocationLib
|
---|
65 | VarCheckLib
|
---|