On Thu, 2005-02-17 at 10:42 +0530, Dhanashri Bhate wrote: > hi, > i know unix fairly well and good at C, but new to the linux environment. I'm studying device driver development(kernel space). i'm refering the linux device driver book by allessandro rubini. which is quite good... but still i'm having some problems in thoroghly understanding the basic concepts! > > someone pls answer this: how exactly a device address comes to the driver? ( which will be used by copy-to-user/copy-from-user) can you re-phrase your question? don't know what exactly you mean by "device address comes to the driver" copy-[to/from]-user functions are used to transfer data between your device drivers memory (in kernel space) to user space memory....typically whenever you want to transfer data to/from your device to a user application....the user-space application will give your driver a pointer (in user space) to which you transfer data (which would be stored in a buffer in kernel space) using these helper functions... HTH, -mandeep > > Thanks, > Dhanshri > > > > > > -- > 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/