[edk2-devel] [PATCH] Support skipping automatic BM enumeration

Ni, Ray ray.ni at intel.com
Tue Nov 5 02:42:11 UTC 2019


+ Mike

With the UEFI driver model, if a device is not needed by booting, it can skip the connecting.
Then I do not see a need of the new protocol.

Thanks,
Ray

> -----Original Message-----
> From: Laszlo Ersek <lersek at redhat.com>
> Sent: Thursday, October 31, 2019 6:15 PM
> To: devel at edk2.groups.io; ashishsingha at nvidia.com; Wang, Jian J
> <jian.j.wang at intel.com>; Wu, Hao A <hao.a.wu at intel.com>; Ni, Ray
> <ray.ni at intel.com>; Gao, Zhichao <zhichao.gao at intel.com>
> Subject: Re: [edk2-devel] [PATCH] Support skipping automatic BM
> enumeration
> 
> +Ray, +Zhichao
> 
> (although, the actual patch seems to be missing from the posting)
> 
> Thanks
> Laszlo
> 
> On 10/30/19 04:47, Ashish Singhal wrote:
> > 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
> >


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#49946): https://edk2.groups.io/g/devel/message/49946
Mute This Topic: https://groups.io/mt/39747302/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list