From patchwork Wed Apr 8 07:10:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 46867 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E7888218CB for ; Wed, 8 Apr 2015 07:11:45 +0000 (UTC) Received: by wiaa2 with SMTP id a2sf8121478wia.1 for ; Wed, 08 Apr 2015 00:11:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=GPLXKxN/+Kqo9B2R3aUG+ZlS86T97K37oFvOpZMxvSc=; b=HkUwPYE9r+JWpmQycnGxnogf+AoPdeSgct0q3ptpcQPKo+ty46UvKzO/CwhKS2kOna RXYh4FgxDESQi1XFiBrKTrPckRDwRDkMKN7BHkpZmMyk0ftfLVJySXOUkw3tJzWpVopi J+TrmqICjyinb1zbvhTCi6eD/b7qeqGSpfb/bwG0dzKtrZuwH86TqD+QZgJGzqEbkC16 ouHQSTqdANvFHMpXTlKikRblaSaEWI3sNTEWTBUMpv+seqrPhdTUdHAF7R/7GKA+ZPB1 rQIhiDmuDcoxWQ8/LvLF+iFZtjwr22JtKsprHkgGn0nKyAl4TgxYAYVwK8APABtQHdkG vBmQ== X-Gm-Message-State: ALoCoQngAlFpYZp7VbdGmWAqTDCJeGedBEiW8k/QtLcixWTZnlg61aNbq5k3ZAniy7bSJ6Ssxpon X-Received: by 10.112.93.203 with SMTP id cw11mr4691593lbb.0.1428477105054; Wed, 08 Apr 2015 00:11:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.229.129 with SMTP id sq1ls142708lac.4.gmail; Wed, 08 Apr 2015 00:11:44 -0700 (PDT) X-Received: by 10.112.173.41 with SMTP id bh9mr21481708lbc.107.1428477104874; Wed, 08 Apr 2015 00:11:44 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id rp7si8008234lbb.83.2015.04.08.00.11.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Apr 2015 00:11:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by lagv1 with SMTP id v1so59222340lag.3 for ; Wed, 08 Apr 2015 00:11:44 -0700 (PDT) X-Received: by 10.112.125.167 with SMTP id mr7mr21863985lbb.106.1428477104739; Wed, 08 Apr 2015 00:11:44 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp878102lbt; Wed, 8 Apr 2015 00:11:44 -0700 (PDT) X-Received: by 10.43.151.83 with SMTP id kr19mr12233299icc.3.1428477101852; Wed, 08 Apr 2015 00:11:41 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id i5si8788881igt.36.2015.04.08.00.11.41 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 08 Apr 2015 00:11:41 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Yfk96-0003Wg-AE; Wed, 08 Apr 2015 07:11:32 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Yfk95-0003WU-3T for edk2-devel@lists.sourceforge.net; Wed, 08 Apr 2015 07:11:31 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.212.173 as permitted sender) client-ip=209.85.212.173; envelope-from=ard.biesheuvel@linaro.org; helo=mail-wi0-f173.google.com; Received: from mail-wi0-f173.google.com ([209.85.212.173]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Yfk94-0005M5-6t for edk2-devel@lists.sourceforge.net; Wed, 08 Apr 2015 07:11:31 +0000 Received: by widdi4 with SMTP id di4so43659558wid.0 for ; Wed, 08 Apr 2015 00:11:24 -0700 (PDT) X-Received: by 10.180.83.193 with SMTP id s1mr10223492wiy.22.1428477084186; Wed, 08 Apr 2015 00:11:24 -0700 (PDT) Received: from ards-macbook-pro.local ([90.174.5.65]) by mx.google.com with ESMTPSA id wo10sm14210001wjb.35.2015.04.08.00.11.22 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Apr 2015 00:11:23 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.sourceforge.net, lersek@redhat.com, olivier.martin@arm.com Date: Wed, 8 Apr 2015 09:10:58 +0200 Message-Id: <1428477061-1768-3-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1428477061-1768-1-git-send-email-ard.biesheuvel@linaro.org> References: <1428477061-1768-1-git-send-email-ard.biesheuvel@linaro.org> X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1Yfk94-0005M5-6t Subject: [edk2] [PATCH v3 2/5] ArmVirtualizationPkg: move Qemu target to ArmVirtualizationMemoryInitPeiLib X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This updates ArmVirtualizationQemu.dsc to use the MemoryInitPeilLib implementation for virt targets. The only difference between that one and the original one is that the original one removes memory from the available list if it overlaps the FD region (which may be the case when shadowing NOR flash with system RAM). Since this is never the case for the Qemu target, this change should have no effect. In a followup patch, we will implement more virt specific behavior in this library instance. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationQemu.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationQemu.dsc b/ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationQemu.dsc index 07ae63ada7c0..cad7353442f7 100644 --- a/ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationQemu.dsc +++ b/ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationQemu.dsc @@ -39,6 +39,8 @@ ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.inf [LibraryClasses.common] + MemoryInitPeiLib|ArmPlatformPkg/ArmVirtualizationPkg/Library/ArmVirtualizationMemoryInitPeiLib/ArmVirtualizationMemoryInitPeiLib.inf + # Virtio Support VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf