Re: calling oem sal functions

Dean Nelson
2004-08-19T18:29:22Z

On Thu, Aug 19, 2004 at 05:23:46PM +0000, Tony Luck wrote:
> Dean,
>
> I've been thinking about this, and it does seem unresonable that there
> is no way for an OEM written module to make a call to an OEM SAL function.
>
> Would something like the (compiles, but untested) attached patch work
> for you? The return value of 0/-1 just indicates whether the SAL call
> was attempted. Callers should look at the status field of the isrvp
> structure to determine the actual success of the call.
>
> Would you also need "_nolock" and "_reentrant" versions?

Yes, it would certainly do the trick. And yes, we would need all
three versions.

Did you want me to finish developing this patch and submit it with my stuff,
or were you planning on taking it to completion?

Thanks,
Dean