I was told that BeOS used a similar C++ structure.  Though I have no idea
how it was really implemented.

- Josh

-----Original Message-----
From: Patrick Strasser [mailto:past@sbox.tugraz.at]
Sent: Monday, April 08, 2002 5:29 PM
To: bgat@billgatliff.com
Cc: l4ka@ira.uka.de; l4-hackers@os.inf.tu-dresden.de
Subject: Re: L4 for asm-free OS'es?


William A. Gatliff wrote:


> A lot of what I see happening in the C parts of Linux could be done
> *so* much better with C++.  I'm thinking of an OO-oriented driver
> model as an example, rather than just a soup of C functions that you
> have to invoke in the proper order for things to work right.  "Want to
> right a USB driver?  Well then just inherit from USBDriver and fill in
> these functions for the bulk transfers."  You know, like that.  :^)

You probaly want to have a look at MacOS X / Darwin and its IOKit. Thats
exactly what they do.

Patrick


_______________________________________________
l4-hackers mailing list
l4-hackers@os.inf.tu-dresden.de
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers