From patchwork Wed Sep 21 08:23:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 76671 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1923290qgf; Wed, 21 Sep 2016 01:24:32 -0700 (PDT) X-Received: by 10.55.165.201 with SMTP id o192mr41355572qke.235.1474446272002; Wed, 21 Sep 2016 01:24:32 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h51si25494445qth.83.2016.09.21.01.24.31; Wed, 21 Sep 2016 01:24:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id ACC72616A5; Wed, 21 Sep 2016 08:24:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 08139616D7; Wed, 21 Sep 2016 08:23:57 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 879BD60EBD; Wed, 21 Sep 2016 08:23:49 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by lists.linaro.org (Postfix) with ESMTPS id EB1D0610AA for ; Wed, 21 Sep 2016 08:23:44 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id l132so253531581wmf.0 for ; Wed, 21 Sep 2016 01:23:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5IEhLGJowRoeKGaz+illTl2pm1q2FoHDVFvh/9U7YTI=; b=J7yZaE6ohyCv4C0TCXGq6PvCA5wKduCT2+IDNKjZYfF2cP6Diixy7q9KdrH5iqaBAJ 1o0B2twxZoc7Bip809O+FIozMTnOlkEUbWGFsvH94J4yK+lftTbGAE27YU3p2PMg/4dC eD+Gj/DrFzXFG2ly26DBAL5Gj3AsD31LFLuPJ0JKCscWLD137giLhF09tHHkvndQjQUz 0gZlzQfrHNjvTseoGBvFjGkZOcMY35T77O/0F7zWsbBBuyw4csIwG7JzbHTemSiGAcJQ W911AQsyhO6Skll2Z0lOpZmcOKtzG5eGRR+h4yCRkNwFHqCxDQvVnJsAiZI5NnxnLOzm rOXQ== X-Gm-Message-State: AE9vXwMJ3tv4563iaRwNthjAhHmwHy1hY7rqLXgXvFAUMp/qEqMWOnWb71ZYZfp3jYhm+bnXFJk= X-Received: by 10.28.221.213 with SMTP id u204mr2158572wmg.117.1474446223800; Wed, 21 Sep 2016 01:23:43 -0700 (PDT) Received: from localhost.localdomain ([160.164.113.123]) by smtp.gmail.com with ESMTPSA id vh6sm32329929wjb.0.2016.09.21.01.23.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Sep 2016 01:23:43 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org, ryan.harkin@linaro.org, heyi.guo@linaro.org Date: Wed, 21 Sep 2016 09:23:28 +0100 Message-Id: <1474446210-337-4-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474446210-337-1-git-send-email-ard.biesheuvel@linaro.org> References: <1474446210-337-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [Linaro-uefi] [PATCH 3/5] Platforms/ARM: move to MdePkg version of BaseMemoryLib X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" Move away from ArmPkg's BaseMemoryLibStm, which is deprecated and about to be removed. For SEC and PEI phases, move to the generic MdePkg version instead, and for later phases, use the accelerated BaseMemoryLibOptDxe implementation. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Tested-by: Ryan Harkin --- Platforms/ARM/VExpress/ArmVExpress.dsc.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Platforms/ARM/VExpress/ArmVExpress.dsc.inc b/Platforms/ARM/VExpress/ArmVExpress.dsc.inc index bfd94c3a2df4..823c934f3159 100644 --- a/Platforms/ARM/VExpress/ArmVExpress.dsc.inc +++ b/Platforms/ARM/VExpress/ArmVExpress.dsc.inc @@ -58,9 +58,7 @@ # PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf - # 1/123 faster than Stm or Vstm version - #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf - BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf # Networking Requirements NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf @@ -192,6 +190,7 @@ ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [LibraryClasses.common.PEIM] HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf @@ -210,6 +209,7 @@ [LibraryClasses.common.SEC, LibraryClasses.common.PEIM] MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [LibraryClasses.common.DXE_CORE] HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf