From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web09.4335.1575642695403458006 for ; Fri, 06 Dec 2019 06:31:35 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=Cff2q2hp; spf=pass (domain: linaro.org, ip: 209.85.128.65, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f65.google.com with SMTP id p17so7555689wma.1 for ; Fri, 06 Dec 2019 06:31:35 -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:mime-version :content-transfer-encoding; bh=VE75gM3dukcjxe0xgnTpHAGtoYBqUFLjCvBvsPKD/WM=; b=Cff2q2hpmevATv4FddS3WTpZQ7Y97B8bPjoK0VlRyeFKZEv9+8NGtooJcSatzNJHt6 1lfff2gQ2rmqO4YIITmYOTjAwYIc7nY9eNiqGG9h9zUTPGSr2YB6Kt6wmyEL7JtsRJv3 U7Ze7gejyVIhb4RzOsDrupmcadSSUSEbRbMNGtmxrA5vlT/+9E7Y5YJGFfDQ44nrSjyA KpngGOxwQwolE2BRnZdiiF/JH/ROCuA8Smw4LAXuTPz2QEKtghaUPt86J2IJ1CYl0i4N WAjC8tu9aGtrZFZ2CqOYE66tFPEfcmd7ob2TYlHU+w2/79HBPnfTUARDvjAUNEJ/1ueH y0vw== 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:mime-version :content-transfer-encoding; bh=VE75gM3dukcjxe0xgnTpHAGtoYBqUFLjCvBvsPKD/WM=; b=n51dkgHABRfTmEosQ2CSH8hCAItgknzjfSLtMVrdJbXIlhDZQ0ERHhFtmVn2rVDwxy rGJ1rV0gPmtxFUl3G0TdFl2ZnasC/YMYANrFZCLWWVU8sfqgNy2WnuMLpcczDs47j9me es7ziLR/sAstJWEjyYFAWnIKpbjYy4gZNZkAKCEdpQkF4y653Dtu6O9vZdYLJWYJKTz6 yl7Q0/szQJ0Wmiy6JnDYtTOM1aisMDCJWUL7g+XtKyb96Hg3sFSEoeksMcGEQLTQszFr XXi43o44Z4X4YZzLE6DWHxV+n7QSWidZngCBqTOqnzuqPm2iI9X+ohMihlmJ1L5IzyLH cVUQ== X-Gm-Message-State: APjAAAURMWd3qalVWNkbC0OmTVmy+Gl3oFZi7X8T9UdSfAa8lSWIEHXF j3GCnWj39toj2ZF9Ga9oo30DcSWHpD3QfEON X-Google-Smtp-Source: APXvYqwghLbMtOEr8ocf9i7WrJoSRQeX9i8hJIoeR+ZS384vJCHI66dcmi1DvO3sjoexygES/fBGYQ== X-Received: by 2002:a7b:ca4b:: with SMTP id m11mr10652977wml.74.1575642693814; Fri, 06 Dec 2019 06:31:33 -0800 (PST) Return-Path: Received: from sudo.home ([2a01:cb1d:112:6f00:488a:43c8:1cd8:def8]) by smtp.gmail.com with ESMTPSA id b63sm3281032wmb.40.2019.12.06.06.31.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Dec 2019 06:31:32 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Laszlo Ersek , Zhichao Gao , Ray Ni , Maurice Ma , Guo Dong , Benjamin You Subject: [RFC PATCH 0/2] MdeModulePkg: reorder Driver#### handling for console drivers Date: Fri, 6 Dec 2019 15:31:26 +0100 Message-Id: <20191206143128.19371-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Change the order in which the BDS handles Driver#### entries and invokes the PlatformBmLib hooks so that we can load GOP drivers via Driver#### entries in time for them to be used as the console. Cc: Leif Lindholm Cc: Laszlo Ersek Cc: Zhichao Gao Cc: Ray Ni Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Ard Biesheuvel (2): MdeModulePkg/PlatformBootManagerLib: document change of Driver#### handling MdeModulePkg/BdsDxe: allow consoles on drivers loaded via Driver#### .../Library/PlatformBootManagerLib/PlatformBm.c | 2 +- .../Library/PlatformBootManagerLib/PlatformBm.c | 2 +- .../Include/Library/PlatformBootManagerLib.h | 2 +- .../PlatformBootManager.c | 2 +- MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 17 +++++++++-------- .../PlatformBootManagerLib/BdsPlatform.c | 2 +- .../PlatformBootManager.c | 2 +- 7 files changed, 15 insertions(+), 14 deletions(-) -- 2.17.1