EmbLogic's Blog

Writing data to character device driver

RCS file: wwrite.c,v
Working file: wwrite.c
head: 1.7
branch:
locks: strict
raghav: 1.7
access list:
symbolic names:
keyword substitution: kv
total revisions: 7;    selected revisions: 7
description:
The file_operations structure is defined in linux/fs.h
—————————-
revision 1.7    locked by: raghav;
date: 2014/02/23 13:27:46;  author: raghav;  state: Exp;  lines: +3 -2
displayed the data in kernel using copy_from_user
—————————-
revision 1.6
date: 2014/02/23 13:25:54;  author: raghav;  state: Exp;  lines: +1 -1
implemented copy_from_user to copy the data from application layer
—————————-
revision 1.5
date: 2014/02/23 13:25:12;  author: raghav;  state: Exp;  lines: +1 -1
using kalloc : creating memory for required number of quantums
—————————-
revision 1.4
date: 2014/02/23 13:23:58;  author: raghav;  state: Exp;  lines: +1 -1
now count the number of qset required
allocating memory for required number of qset
implemented memset for qset memory
—————————-
revision 1.3
date: 2014/02/23 13:22:57;  author: raghav;  state: Exp;  lines: +1 -1
Allocating memory for scullqset and also clean this memory using memset
—————————-
revision 1.2
date: 2014/02/23 13:22:09;  author: raghav;  state: Exp;  lines: +1 -2
count the number of scullQset required
—————————-
revision 1.1
date: 2014/02/23 13:20:43;  author: raghav;  state: Exp;
Initial revision
=============================================================================

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>