]> git.proxmox.com Git - mirror_edk2.git/blame - PrmPkg/PrmPkg.dsc
PrmPkg/SampleAcpiParameterBufferModule: Add initial module
[mirror_edk2.git] / PrmPkg / PrmPkg.dsc
CommitLineData
97ab54c1
MK
1## @file\r
2# Build description file for PrmPkg\r
3#\r
4# Copyright (C) Microsoft Corporation\r
5# SPDX-License-Identifier: BSD-2-Clause-Patent\r
6##\r
7\r
8[Defines]\r
9 PLATFORM_NAME = Prm\r
10 PLATFORM_GUID = C29BB610-84F9-448D-A7DD-5A04C5A54F52\r
11 PLATFORM_VERSION = 0.1\r
12 DSC_SPECIFICATION = 0x00010005\r
13 OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)\r
14 SUPPORTED_ARCHITECTURES = IA32|X64\r
15 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
16 SKUID_IDENTIFIER = DEFAULT\r
17\r
18 DEFINE PLATFORM_PACKAGE = $(PLATFORM_NAME)Pkg\r
19\r
20[LibraryClasses.common]\r
21 #\r
22 # EDK II Packages\r
23 #\r
24 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
25 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
26 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
27 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
28 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
29 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
30 MemoryAllocationLib|MdeModulePkg/Library/BaseMemoryAllocationLibNull/BaseMemoryAllocationLibNull.inf\r
31 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
32 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
33 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
34 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
35 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
36 RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf\r
37 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
38 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
39\r
40[LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
41 #\r
42 # EDK II Packages\r
43 #\r
44 BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r
45 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
46 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
47 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
48 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
49 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
50 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
51 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
52 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
53\r
54 #\r
55 # PRM Package\r
56 #\r
57 PrmContextBufferLib|$(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf\r
58\r
59###################################################################################################\r
60#\r
61# Components Section - List of the modules and components that will be processed by compilation\r
62# tools and the EDK II tools to generate PE32/PE32+/Coff image file.\r
63#\r
64###################################################################################################\r
65\r
66[Components]\r
67 #\r
68 # PRM Libraries\r
69 #\r
70 $(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf\r
72172635 71 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf\r
97ab54c1
MK
72 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf\r
73 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeHardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf\r
74\r
75 #\r
76 # PRM Configuration Driver\r
77 #\r
78 $(PLATFORM_PACKAGE)/PrmConfigDxe/PrmConfigDxe.inf {\r
79 <LibraryClasses>\r
72172635 80 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/Library/DxeAcpiParameterBufferModuleConfigLib/DxeAcpiParameterBufferModuleConfigLib.inf\r
97ab54c1
MK
81 NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf\r
82 }\r
83\r
84 #\r
85 # PRM Module Loader Driver\r
86 #\r
87 $(PLATFORM_PACKAGE)/PrmLoaderDxe/PrmLoaderDxe.inf\r
88\r
50e1432a
MK
89 #\r
90 # PRM SSDT Installation Driver\r
91 #\r
92 $(PLATFORM_PACKAGE)/PrmSsdtInstallDxe/PrmSsdtInstallDxe.inf\r
93\r
97ab54c1
MK
94 #\r
95 # PRM Sample Modules\r
96 #\r
97 $(PLATFORM_PACKAGE)/Samples/PrmSamplePrintModule/PrmSamplePrintModule.inf\r
72172635 98 $(PLATFORM_PACKAGE)/Samples/PrmSampleAcpiParameterBufferModule/PrmSampleAcpiParameterBufferModule.inf\r
97ab54c1
MK
99 $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHardwareAccessModule.inf {\r
100 <LibraryClasses>\r
101 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
102 }\r
103 $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf\r
104\r
105 #\r
106 # The SampleMemoryAllocationModule was used during a time in the POC when the OS\r
107 # provided memory allocation services. This module was successful in using those services.\r
108 # Since OS services have been removed (aside from debug prints), this module is no longer\r
109 # relevant but kept around for archival purposes.\r
110 #\r
111 #$(PLATFORM_PACKAGE)/Samples/PrmSampleMemoryAllocationModule/PrmSampleMemoryAllocationModule.inf\r
112\r
113[BuildOptions]\r
114# Force deprecated interfaces off\r
115 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r