From patchwork Mon Jan 14 13:27:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 155503 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3659535jaa; Mon, 14 Jan 2019 05:29:30 -0800 (PST) X-Google-Smtp-Source: ALg8bN6gxfvmmuWJ690mRQ7eGOJZxdcEl9K5q87wvNWV4fHSgLqiS8FeMM8bk/y7RUueHdf0Vvuo X-Received: by 2002:a17:902:4681:: with SMTP id p1mr26072956pld.184.1547472570916; Mon, 14 Jan 2019 05:29:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547472570; cv=none; d=google.com; s=arc-20160816; b=IUOtljexEs7ARyZqNsnbSBLmyvdzyU2dXjJwZWegEB0d9phWx8Rz/cAdYYnqrT7lNg hyiEaJd2jx/fVqJh7Ug5hQmuLdT+wHvvlnh2CSJhdYHSOVm+0DGwLvCIQpyoJqEAN/nE yvGoPoq4oaQ45+KaDMyGrnhnvU4avQngg5zD1XSa9yD9AnW9tbqbiDsFfM2L8P8VjbwM ZC4es1CfKkIWzQQi3N491a4sKjXN+ULAvA3wb7to+4Fi8INnqqLAG6gingWcGSuBBPtp fbIwzd2tyG3ENtY/VkDVY7hqvXrSip2/YJvM775AFOac6W/AuYI9ydDBD6GhOGDQBsyc cHcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=WKB6jF1ecnEtthuhzF3FJYaD9FbbE5SmRW0Dna/Z5YE=; b=ysY6U98Sait1Iuj0NVHIrAF3AICQEUhkHbANE1kk31MSlrKoZ0UPD33ZOmCzFZ+OvR UhYXL8+4d+yrPccmEG4qlQhEGzL6oG4bu6rnkMohYF7jmYS4eTQ4D1XgQjaSxbA9uNY9 xr1WhJwS4FpGvFiC6TIyXdKJs72WLNB+YbLR7QFRLv6Mfuyn8h1RYkmJ34RpkyJM+clT g/AAQZbFzdvUgJMpcPacuL/KgU7NWQkd/V10FCJraBtzrKGmrS2x+IsLAwySqU0P+AKG MlX1ylbuWLwNXtheeLVRYULjPVYk8O5Tm+CbjvKCRnVIKBNUa+owIXYWCuuHgGJCD+Lx fzUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WrmCusp9; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id v6si368898pfv.181.2019.01.14.05.29.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jan 2019 05:29:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WrmCusp9; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 56F90211B7F6D; Mon, 14 Jan 2019 05:28:40 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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-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 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: [edk2] [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: , Cc: Hao Wu , Liming Gao , Michael D Kinney , Laszlo Ersek , Star Zeng Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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(+) -- 2.20.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Star Zeng 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