Hi,

So I open a Block IO Protocol, also get the Device Path.  Then do:

EFI_STATUS OpenParentProtocol(EFI_DEVICE_PATH_PROTOCOL *devpath, EFI_GUID
*protocolguid, void **protocolinterface)

  EFI_HANDLE devhandle;
  EFI_STATUS status=UEFI_BS->LocateDevicePath(protocolguid, &devpath,
&devhandle);

<...>

but that always fails for both the ATA Pass Thru and the SCSI Ext Pass
Thru.  The system has both a SCSI adapter with a hard drive and SATA
adapter with HD and DVD.

I'll look if anything exists via the LocateHandleBuffer to see if anything
exists at all .. but Is it common that you're not going to have a pass thru
interface?   Shouldn't the DevPath on the same handle as the opened Block
IO Protocol be able to be used to find the pass thru interfaces?

TIA!!
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to