> I'm assuming that OS-independent code can remain OS-independent.  ...
> I have no illusions that the OS-specific parts of the driver will be portable.

Hmm... I guess it all depends on what you think is OS specfic, I always thought
dispatch was OS dependent.

> Simply dropping a function pointer into the dispatch table is currently a
simple
> assignment in many implementations, and I would like to keep it that way.

Agreed. It can and should remain that way. Albeit you might have to write a
macro that hides the assignment because the dispatch data structure might be
slightly different. That does not seem like a terrible OS burden to bear. But
I'll bet anyone with a little skill in emacs or perl could do this in a couple
of hours. But you're right, its another porting task :-(

John

Reply via email to