Re: [edk2] Option ROM driver with multiple PCIe cards.

2013-06-17 Thread jagannath rath
ny sample code to check driver binding protocol? > > Thanks > Sateesh > > > On Mon, Jun 17, 2013 at 12:11 PM, jagannath rath < > jagannath.p.r...@gmail.com> wrote: > >> Hi, >> >> After doing all the required checking in the supported function, you can

Re: [edk2] Option ROM driver with multiple PCIe cards.

2013-06-16 Thread jagannath rath
Hi, After doing all the required checking in the supported function, you can check at the end of supported function whether Bus Specific Driver Override Protocol is installed in the controller handle. If it is installed then you can use it's GetDriver() to get the image handle of the Driver Bindi

Re: [edk2] Should LocateHandle return EFI_BUFFER_TOO_SMALL or EFI_WARN_BUFFER_TOO_SMALL

2013-02-03 Thread jagannath rath
s > described in the UEFI specification. > > Tim > > -Original Message- > From: jagannath rath [mailto:jagannath.p.r...@gmail.com] > Sent: Sunday, February 03, 2013 12:16 PM > To: edk2-devel > Subject: [edk2] Should LocateHandle return EFI_BUFFER_TOO_SMALL or > EF

[edk2] Should LocateHandle return EFI_BUFFER_TOO_SMALL or EFI_WARN_BUFFER_TOO_SMALL

2013-02-03 Thread jagannath rath
Hello, The gBS->LocateHandle returns EFI_BUFFER_TOO_SMALL if the size of the buffer is small for the result. It actually does return the truncated data in the buffer. Hence should the return type not be EFI_WARN_BUFFER_TOO_SMALL as the buffer data is being truncated. Please point out if I am miss