Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys



On Mon, 19 Dec 2005, Jason Thorpe wrote:
I would like to see us move towards more types that are opaque outside the subsystem that implements them. Besides, "device_t" is a lot shorter than "struct device *".

This is probably a very stupid question, but... what I wonder is how to get a "struct device foodev" that way, when "device_t foodev" would only give me a pointer. Not knowing the kernel this may make no sense at all, and that only malloc()ed data structures are used for this...

BTW: device(9) needs adjusting for this. (And for some other things, please see PR 32336).


 - Hubert



Home | Main Index | Thread Index | Old Index