[ofw] [RFC] [PATCH 11/12] winverbs\uvp:add poll_cq_array() to interface

Fab Tillier ftillier at windows.microsoft.com
Sat Mar 15 00:59:22 PDT 2008


>The call is added to the end of the uvp_interface_t, which should preserve
>binary compatibility with existing applications.

Applications never use this directly, it's an internal interface used by IBAL, the ND provider, and now WinVerbs.  You have to recompile anyone using the UVP interface if this structure ever changes, since the UVP will fill it as if it was whatever it was compiled with.  That is, winverbs won't be able to work with an old UVP that doesn't fill in this function, and IBAL won't be able to work with a newer UVP that expect to fill it in since it would overflow the interface buffer provided by IBAL.

If the UVP checked the input version (and it was provided by callers) you might have some hope of handling things properly.  For the time being, you just have to recompile everything.

-Fab



More information about the ofw mailing list