Hi all, I was going thru an article in "Kernel Korner - Implementation of System Calls". There the author had mentioned something like the syscall can have only 5 arguments on intel platforms. The exact excerpt is as follows.. "........each call is associated with one number. This number is passed in the %eax processor register indicating the number of arguments, and each argument of the system call (a function) is passed in %ebx, %ecx, %edx, %esi or %edi--up to five arguments on Intel platforms. The macro definitions corresponding to each _syscallN, depending on the value of N, can be found in unistd.h." Can NE one explain the above para?? what does he mean when he says "...each argument of the system call (a function)" Does he mean each arg of the sys call is a function pointer??? THANX mandeep -----Original Message----- From: Greg KH [mailto:greg@kroah.com] Sent: Wednesday, December 10, 2003 8:49 PM To: Vanitha Ramaswami Cc: 'kernelnewbies@nl.linux.org' Subject: Re: Sharing a global variable between a user space application and a Kernel module On Wed, Dec 10, 2003 at 03:02:10PM +0800, Vanitha Ramaswami wrote: > Hello, > > How do i access a global variable defined in a user space application > from a kernel module.? Short answer: You can't. Long answer: you must write code to be able to export/import that variable through some means (proc, sysfs, sysctl, etc.) greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/