From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web08.12134.1647966054231124627 for ; Tue, 22 Mar 2022 09:20:54 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=hl93gnoD; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.202.59.224]) by linux.microsoft.com (Postfix) with ESMTPSA id C820220B4783; Tue, 22 Mar 2022 09:20:52 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com C820220B4783 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1647966053; bh=4EKACLIuJ2ta56mB41mHnZAz4ZfgqXqGyrSq5RZFdVk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hl93gnoDCc7Lgvlwxiw/3A3SAlk+Zpm4tRPjUCigMkGty4ZCba8SosigQJc9B9bIB Edfec7Sy6Fcnysgk4gmPVct1LXkDAkvCCEjP2AHTHYiVd0lI3+JDB81VWIEGrrO2r2 8W1ZP3kBakI31cvTZgPQlEWSkHB6UhPTzwUhP6U0= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Andrew Fish , Kang Gao , Michael D Kinney , Michael Kubacki , Leif Lindholm , Benjamin You , Liu Yun , Ankit Sinha , Nate DeSimone Subject: [PATCH v1 09/41] PrmPkg: Add initial package DSC file Date: Tue, 22 Mar 2022 12:19:15 -0400 Message-Id: <20220322161947.9319-10-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220322161947.9319-1-mikuback@linux.microsoft.com> References: <20220322161947.9319-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3812 Adds the PrmPkg DSC file so all of the contents can be built as a stand-alone package. Cc: Andrew Fish Cc: Kang Gao Cc: Michael D Kinney Cc: Michael Kubacki Cc: Leif Lindholm Cc: Benjamin You Cc: Liu Yun Cc: Ankit Sinha Cc: Nate DeSimone Signed-off-by: Michael Kubacki --- PrmPkg/PrmPkg.dsc | 107 ++++++++++++++++++++ 1 file changed, 107 insertions(+) diff --git a/PrmPkg/PrmPkg.dsc b/PrmPkg/PrmPkg.dsc new file mode 100644 index 000000000000..a0237d1fe059 --- /dev/null +++ b/PrmPkg/PrmPkg.dsc @@ -0,0 +1,107 @@ +## @file +# Build description file for PrmPkg +# +# Copyright (C) Microsoft Corporation +# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +[Defines] + PLATFORM_NAME =3D Prm + PLATFORM_GUID =3D C29BB610-84F9-448D-A7DD-5A04C5A54F5= 2 + PLATFORM_VERSION =3D 0.1 + DSC_SPECIFICATION =3D 0x00010005 + OUTPUT_DIRECTORY =3D Build/$(PLATFORM_NAME) + SUPPORTED_ARCHITECTURES =3D IA32|X64 + BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT + SKUID_IDENTIFIER =3D DEFAULT + + DEFINE PLATFORM_PACKAGE =3D $(PLATFORM_NAME)Pkg + +[LibraryClasses.common] + # + # EDK II Packages + # + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf + CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/Bas= eDebugPrintErrorLevelLib.inf + DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf + MemoryAllocationLib|MdeModulePkg/Library/BaseMemoryAllocationLibNull/B= aseMemoryAllocationLibNull.inf + MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BaseP= eCoffExtraActionLibNull.inf + PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterL= ibNull.inf + RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiB= ootServicesTableLib.inf + +[LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRI= VER] + # + # EDK II Packages + # + BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.i= nf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTabl= eLib.inf + HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryA= llocationLib.inf + PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEnt= ryPoint.inf + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib= /UefiRuntimeServicesTableLib.inf + + # + # PRM Package + # + PrmContextBufferLib|$(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib= /DxePrmContextBufferLib.inf + +########################################################################= ########################### +# +# Components Section - List of the modules and components that will be p= rocessed by compilation +# tools and the EDK II tools to generate PE32/PE32+= /Coff image file. +# +########################################################################= ########################### + +[Components] + # + # PRM Libraries + # + $(PLATFORM_PACKAGE)/Library/DxePrmContextBufferLib/DxePrmContextBuffer= Lib.inf + $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Library/DxeCo= ntextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf + $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/Library/DxeH= ardwareAccessModuleConfigLib/DxeHardwareAccessModuleConfigLib.inf + + # + # PRM Configuration Driver + # + $(PLATFORM_PACKAGE)/PrmConfigDxe/PrmConfigDxe.inf { + + NULL|$(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/Libr= ary/DxeContextBufferModuleConfigLib/DxeContextBufferModuleConfigLib.inf + } + + # + # PRM Module Loader Driver + # + $(PLATFORM_PACKAGE)/PrmLoaderDxe/PrmLoaderDxe.inf + + # + # PRM Sample Modules + # + $(PLATFORM_PACKAGE)/Samples/PrmSamplePrintModule/PrmSamplePrintModule.= inf + $(PLATFORM_PACKAGE)/Samples/PrmSampleHardwareAccessModule/PrmSampleHar= dwareAccessModule.inf { + + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + } + $(PLATFORM_PACKAGE)/Samples/PrmSampleContextBufferModule/PrmSampleCont= extBufferModule.inf + + # + # The SampleMemoryAllocationModule was used during a time in the POC w= hen the OS + # provided memory allocation services. This module was successful in u= sing those services. + # Since OS services have been removed (aside from debug prints), this = module is no longer + # relevant but kept around for archival purposes. + # + #$(PLATFORM_PACKAGE)/Samples/PrmSampleMemoryAllocationModule/PrmSample= MemoryAllocationModule.inf + +[BuildOptions] +# Force deprecated interfaces off + *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES --=20 2.28.0.windows.1