From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::442; helo=mail-wr1-x442.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 51F6321BADAB6 for ; Mon, 14 Jan 2019 05:28:38 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id x10so22805365wrs.8 for ; Mon, 14 Jan 2019 05:28:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qXBo4E182Fs9V1AAJvmBgLQGZQmMp94CWMACFESlM14=; b=WrmCusp9DPCgB7e26+BFStx9Xf556+7PFJAoQTbqadPGTa8DE23yTJF8B79DdoNjFR dSQowx/tq+7d23SIh3lTMAnwluPZrh0qv5cOhw/BoFuL21LWIQk/nzSJ66vHWhtBOyGi 1tdla0NkOwrEqV+ZTtVCmvBUhyvLtYCXDcKuE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qXBo4E182Fs9V1AAJvmBgLQGZQmMp94CWMACFESlM14=; b=TXFlMei1MpqadyUNtmNQmxVzn+f/9e2R4z11sBHKKZbkZzNU1SwsQV1i+29dZvNax4 w5/UasjtUsxkOm7SbGnRoziNkD4fYzHXxn2jAH6XCkgZhl9VxEcBB2FbgPHnJm+5cIGf 2Yli6nWK6//27fZy6ioGc4R3CmcxYdnJBtAgYONoT+ok2p38Bw2LJUSOY3iE/Q2+1R0v 3VRBoTu3QcmjZbikIDe1TjASRZpBGhjnmOUa3sSJy+ZK+TQ5IMWKRwW7c8/9o+6qmvqc UVXXdWU+R7xdj/0HxxXe6aetJ7uOIX3QMBUMW+Efb1Thi4MaZG5k4OtQ1a9fEfPR2TJh zp/A== X-Gm-Message-State: AJcUuke3/9B5IevPd1MUP2O+z6tM6KDn0ZNq+QzPzx5UwPQ8RG4rgX/G PURyVZCS4SXZg3uytSLdutoMuyNEygk= X-Google-Smtp-Source: ALg8bN5kXvLHSC7Y8A13xYhrQsCwbZgIh28OEL6aE0eFRaINw9l9+5g/ykWzmOx90ALOX4fjJxM/Sw== X-Received: by 2002:a5d:64c7:: with SMTP id y7mr23777028wrv.207.1547472516673; Mon, 14 Jan 2019 05:28:36 -0800 (PST) Received: from localhost.localdomain (aputeaux-684-1-19-62.w90-86.abo.wanadoo.fr. [90.86.222.62]) by smtp.gmail.com with ESMTPSA id 202sm33446560wmt.8.2019.01.14.05.28.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jan 2019 05:28:35 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: Ard Biesheuvel , Laszlo Ersek , Leif Lindholm , Michael D Kinney , Liming Gao , Jian J Wang , Hao Wu , Jagadeesh Ujja , Achin Gupta , Thomas Panakamattam Abraham , Sami Mujawar , Star Zeng Date: Mon, 14 Jan 2019 14:27:58 +0100 Message-Id: <20190114132758.24054-18-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190114132758.24054-1-ard.biesheuvel@linaro.org> References: <20190114132758.24054-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [PATCH v2 17/17] MdeModulePkg/MdeModulePkg.dsc: add MM_STANDALONE FTW and variable modules X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2019 13:28:38 -0000 Content-Transfer-Encoding: 8bit For build testing coverage, add the newly introduced MM_STANDALONE versions of the fault tolerant write (FTW) and variable runtime driver to MdeModulePkg.dsc. Note that the resulting binaries will not be able to run, since they rely on dummy implementations of MemoryAllocationLib and HobLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- MdeModulePkg/MdeModulePkg.dsc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 3e9a9daf1649..93eaf4b404a1 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -168,6 +168,12 @@ [LibraryClasses.common.UEFI_APPLICATION] MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf +[LibraryClasses.common.MM_STANDALONE] + HobLib|MdeModulePkg/Library/BaseHobLibNull/BaseHobLibNull.inf + MemoryAllocationLib|MdeModulePkg/Library/BaseMemoryAllocationLibNull/BaseMemoryAllocationLibNull.inf + StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf + MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf + [LibraryClasses.ARM, LibraryClasses.AARCH64] ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf @@ -420,6 +426,9 @@ [Components] MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf + MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.inf + MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.inf + [Components.IA32, Components.X64, Components.AARCH64] MdeModulePkg/Universal/EbcDxe/EbcDxe.inf MdeModulePkg/Universal/EbcDxe/EbcDebugger.inf -- 2.20.1