public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* FmpDeviceLib
@ 2018-11-27 13:25 Tomas Pilar (tpilar)
  2018-11-27 14:33 ` FmpDeviceLib Gao, Liming
  0 siblings, 1 reply; 6+ messages in thread
From: Tomas Pilar (tpilar) @ 2018-11-27 13:25 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

Hi all,

I am looking at using FmpDxeLib so I need to implement the FmpDeviceLib. However, it seems like the library functions do not take any private struct as a parameter, so I am struggling to figure out how to read information off the hardware. FmpDxe does not even pass its created protocol instance when calling the library functions, leading me to believe that the only way to do this is to assign a pointer to private struct during library construction, but that means that a driver that uses the code can only ever service a single controller.

Can you offer any insights?

Cheers,
Tom


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-11-28 10:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-27 13:25 FmpDeviceLib Tomas Pilar (tpilar)
2018-11-27 14:33 ` FmpDeviceLib Gao, Liming
2018-11-27 15:23   ` FmpDeviceLib Tomas Pilar (tpilar)
2018-11-27 15:28     ` FmpDeviceLib Tomas Pilar (tpilar)
2018-11-28  1:15       ` FmpDeviceLib Kinney, Michael D
2018-11-28 10:43         ` FmpDeviceLib Tomas Pilar (tpilar)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox