From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hqemgate14.nvidia.com (hqemgate14.nvidia.com [216.228.121.143]) by mx.groups.io with SMTP id smtpd.web10.988.1572407245755273396 for ; Tue, 29 Oct 2019 20:47:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Am1UBqlD; spf=pass (domain: nvidia.com, ip: 216.228.121.143, mailfrom: ashishsingha@nvidia.com) Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 29 Oct 2019 20:47:31 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 29 Oct 2019 20:47:25 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 29 Oct 2019 20:47:25 -0700 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 30 Oct 2019 03:47:25 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 30 Oct 2019 03:47:25 +0000 Received: from ashishsingha-lnx.nvidia.com (Not Verified[10.28.48.147]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 29 Oct 2019 20:47:25 -0700 From: "Ashish Singhal" To: , , CC: Ashish Singhal Subject: [PATCH] Support skipping automatic BM enumeration Date: Tue, 29 Oct 2019 21:47:22 -0600 Message-ID: X-Mailer: git-send-email 2.7.4 X-NVConfidentiality: public Return-Path: ashishsingha@nvidia.com MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1572407251; bh=NiCE+B4gHaHoQk42KFXShAUwerVf+sLJG2PaBzuXZ6Q=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=Am1UBqlD5YXqNZfqhafEwbBk3ONjDZA+BxDJOIvAKcm3YqIzSqRZGBDazZwunQdL5 1qVsYdbeXGO4ldibySR9DOlUcJ0wAzG6A8G1FTchu51PaFiSCEL0hh4UXztYQiPouc 09Bk0RFGIs65O0rR40QHRYRZAs37VMLn2jH/qPO+r/gPMyBX8lqtNDMTZTFmZXE0Tx J02Y+amMjjuM/vYfbOqPci2U1ki4QJGVVwCFFZhvuUz3wDszmOSPaExJ6LFo2ss5hP yPoVOR7G4FaMOBcDxY2wzIPWrcSs91bnXFYLZS9x3DhjJnrY/8vuChBqGar8rVqmnf pWUVJsy5kVU+A== Content-Type: text/plain Right now, any and every handle with a BlockIO or SimpleFileSystem or LoadFile protocol installed on the system is used to enumerate BM automatically. There may be cases where on a platform, some of these are not desirable to be enumerated automatically. This patch adds support for skipping this automatic enumeration if on the same handle, a new protocol defined as EdkiiSkipBmAutoEnumerate is found to be installed. Ashish Singhal (1): MdeModulePkg/UefiBootManagerLib: Support skipping BM enumeration .../Include/Protocol/SkipBmAutoEnumerate.h | 25 ++++++++++++++ MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | 40 +++++++++++++++++++++- .../Library/UefiBootManagerLib/InternalBm.h | 1 + .../UefiBootManagerLib/UefiBootManagerLib.inf | 1 + MdeModulePkg/MdeModulePkg.dec | 3 ++ 5 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 MdeModulePkg/Include/Protocol/SkipBmAutoEnumerate.h -- 2.7.4