Re: [osol-code] kernel module coding

2007-05-17 Thread Paul Durrant
On 16/05/07, Thomas De Schampheleire <[EMAIL PROTECTED]> wrote: Hi, I am still a newbie as as well, so please correct me if I'm wrong, but I believe that: - you can access global variables of other modules, as long as they are not declared static. - you can access functions from other places in

Re: [osol-code] kernel module coding

2007-05-16 Thread Thomas De Schampheleire
Hi, I am still a newbie as as well, so please correct me if I'm wrong, but I believe that: - you can access global variables of other modules, as long as they are not declared static. - you can access functions from other places in the kernel, also provided they are not declared static. When you

[osol-code] kernel module coding

2007-05-16 Thread xiong xiaoyi
Hi experts, I am a newbie, I want to write a kernel module. I have couple simple problems: - Can my module access global variable in other modules ? - Can my module call directly call those kernel functions in other modules? Many thanks in advance. - Xiaoyi