[edk2] Multiple Protocols on same driver...

Subject: [edk2] Multiple Protocols on same driver...

From: "David F." <df7729@gmail.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2013-09-04 23:11:10


So when a driver produces two protocol interfaces to access the device using the same protocol GUID. How do you open each instance?

Say you look for all BlkIo protocol devices via HandleBuffer, then want to look if an ATA or SCSI passthru is attached as well, so use same handle, but ATA pass-through could have multiple interfaces logical/physical ... how do you parse through those?