EmbLogic's Blog

Character Device Driver

Presently i am implementing character device driver,there are short description of my work on driver till now.
>1st initialize the character driver by allocating memory on physical memory by registering in the kernel as a kernel module.
>And extracting major & minor number,with the help of this number, create NOD between the user sapce and kernel space
>After that performed file oprations:
@ with help of NOD open the file then write in kernel space from user space and read that same again in user space from kernel sapce.then close operation performed.
>Same file operation performed for the more memory by creating multiple SCULLQSET.(Ongoing)
>lseek which is a system call that is used to change the location of the read/write pointer of a file descriptor. The location can be set either in absolute or relative terms.(not working correctly)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>