Thread (1 message) 1 message, 1 author, 2004-01-15

basic kernel can call the function pointer of loadable kernel module?

flat view

From: ??? <hidden>
Date: 2004-01-15 05:56:56

Hi,
I am not sure it's the right thing to ask you some questions
about kernel module programming. Bur according to the
book 'The Linux Kernel Module Programming Guide' in
www.ibiblio.org/pub/Linux/docs/linux-doc-projext/module-programming-guid
e, I have some questions.

In chapter 14, I found followings.

 Using standard libraries

 You can't do that. In a kernel module you can only use kernel
functions, which are the functions you can see in /proc/ksyms.

 My question is that the basic kernel can execute the function pointer
of loaded module? For example, a loaded kernel module passes its
funciton pointer to ethernet driver(I have done this). But the system
hangs when ethernet driver calls that pointer. Is it possible the basic
kernel to call the function pointer of a loaded module?

 willy in a little bit confused.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help