DragonFly kernel List (threaded) for 2007-04
DragonFly BSD
DragonFly kernel List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: DEVMETHOD()


From: "Karl Sjödahl - dunceor" <dunceor@xxxxxxxxx>
Date: Fri, 27 Apr 2007 08:00:22 +0200

On 4/25/07, Tero Mäntyvaara <termant@gmail.com> wrote:
What does DEVMETHOD()?

--
Tero Mäntyvaara


My hardware: - Processor: AMD Athlon 64 3000+ (Socket 939) - Mobo: Asus A8R-MVP (ATI CrossFire™ Xpress 1600, Marvell 88E8001) - Memory: 512 MB (PC-3200/400 MHz) - Storage: 2 x Samsung SpinPoint P80SD HD080HJ 80 GB SATA2 NCQ - Display adapter: Club 3D 6200LE PCI-E CGNX-L628R


Look here for where it's used and I bet you can understand the mening of it:


http://opengrok.creo.hu/dragonfly/search?q=DEVMETHOD&defs=&refs=&path=&hist=

/*
* Shorthand for constructing method tables.
*/
#define DEVMETHOD	KOBJMETHOD

which goes to:
#define KOBJMETHOD(NAME, FUNC) { &NAME##_desc, (kobjop_t) FUNC }

br
dunceor




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