From patchwork Mon Mar 20 20:35:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 95578 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1126084qgd; Mon, 20 Mar 2017 13:36:08 -0700 (PDT) X-Received: by 10.98.70.198 with SMTP id o67mr35363220pfi.39.1490042168330; Mon, 20 Mar 2017 13:36:08 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id v73si18075930pgb.209.2017.03.20.13.36.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Mar 2017 13:36:08 -0700 (PDT) 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; 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 0F11680470; Mon, 20 Mar 2017 13:36:08 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 3819080470 for ; Mon, 20 Mar 2017 13:36:06 -0700 (PDT) Received: by mail-wm0-x229.google.com with SMTP id n11so74082365wma.0 for ; Mon, 20 Mar 2017 13:36:06 -0700 (PDT) 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; bh=NCzRzROooXuRrYR4wXxwz0nrdys56md1HIcyaebrtl4=; b=E0I8HHoIOS/QipnrfD/I6XfxurOfJy1jf3glUd/F4fOnATQB4YN9DEVgsde28kJeiS LlXg0SyWZ6aMEamRCgtoinb3XrOS3lMgWdTsA9QoIJXhJ7hhcuLhG92j/S8LLot2WUJ2 EHQ20weUzwut0/sPDIQNo0Oiyr1sZMsGT201I= 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; bh=NCzRzROooXuRrYR4wXxwz0nrdys56md1HIcyaebrtl4=; b=d+0vj3DNV9nFiG7vyhvM+UDQ6J0Dr/RAam74MGlIoKXHq6y32n0C1hfFcjie891NrP JmKg+4nnhnzynZj3DqLL0jEEcucopmphELncYCLl2makUbVefqL1iW2rl+38rWRPhvXo HoZEqO00MBzSj7aMEg6bebAtlk2R0+crCT4I0sGbHzDZli6XmbfaZ0uFxW1nM10gNie4 B/Adl7KVThxpfRxke5p2k/p+P56c9dYXSQPs1NQH0Fi0wCg9yYQJZkfqZifzrYmdDIXI avLDVL3KZQdqeQVP0V7nAuWPczwUnbMB+ka0gWmCWuaIrIccDjDopluJj6SnnSDyEVNC 8cCw== X-Gm-Message-State: AFeK/H1GfKBmUKnqudg5Aqu98/spHDox+Y2Cv59PqZtuC2+v7XUeAmZFmuPEb/aP3H0hKC6U X-Received: by 10.28.126.133 with SMTP id z127mr12497247wmc.60.1490042164762; Mon, 20 Mar 2017 13:36:04 -0700 (PDT) Received: from localhost.localdomain (189.17.90.92.rev.sfr.net. [92.90.17.189]) by smtp.gmail.com with ESMTPSA id c35sm22086859wra.1.2017.03.20.13.36.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Mar 2017 13:36:03 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org, ryan.harkin@linaro.org Date: Mon, 20 Mar 2017 20:35:43 +0000 Message-Id: <1490042145-19509-2-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490042145-19509-1-git-send-email-ard.biesheuvel@linaro.org> References: <1490042145-19509-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 1/3] ArmPkg/PlatformBootManagerLib: dispatch deferred images after EndOfDxe X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Add the missing call to EfiBootManagerDispatchDeferredImages() so that images that have been deferred to after EndOfDxe (such as option ROMs) will be loaded. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 5 +++++ 1 file changed, 5 insertions(+) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c index 67e87c1c2642..cc5a4d1ff9b3 100644 --- a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -453,6 +453,11 @@ PlatformBootManagerBeforeConsole ( EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid); // + // Dispatch deferred images after EndOfDxe event. + // + EfiBootManagerDispatchDeferredImages (); + + // // Locate the PCI root bridges and make the PCI bus driver connect each, // non-recursively. This will produce a number of child handles with PciIo on // them.