Re: Linux kernel modules development in C++

From: Alexander Viro (viro@math.psu.edu)
Date: Thu Sep 28 2000 - 12:03:29 EST


On Thu, 28 Sep 2000, Igmar Palsenberg wrote:

> To bad I don't have time to get the basic kernel code.. Would be a good
> investment in time I guess.
>
> I assume the above struct holds pointers to the essential function
> calls, with a NULL value if the're not overridden (defaults) ?

See include/linux/mm.h. The structure contains pointer to methods table
(->vm_ops). Yup, garden-variety virtual table pointer. grep for vm_ops and
vm_operations_struct to see how it's used annd what it is.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:22 EST