EmbLogic's Blog

Om Parkash E.30.01.30 (impemented scull_trim)

RCS file: chard.c,v
Working file: chard.c
head: 1.10
branch:
locks: strict
emblogic: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10;    selected revisions: 10
description:
registered and unregistered devices using alloc_chrdev_region and unregis_chrdev_region.
implemented scull_setup function.
implemented scull_open routine.
started scull_trim,scull_release,scull_write and scull_read routines.
working well till now.
—————————-
revision 1.10    locked by: emblogic;
date: 2013/07/18 11:26:50;  author: emblogic;  state: Exp;  lines: +12 -14
implemented scull_trim for O_WRONLY mode.
read,write,lseek and trim are completed.
working well.
—————————-
revision 1.9
date: 2013/07/17 13:55:42;  author: emblogic;  state: Exp;  lines: +36 -4
implementing trim.
—————————-
revision 1.8
date: 2013/07/17 08:48:06;  author: emblogic;  state: Exp;  lines: +5 -2
modfied scull_write for count+offset < wcount….
—————————-
revision 1.7
date: 2013/07/17 07:05:35;  author: emblogic;  state: Exp;  lines: +15 -12
Implemnted lseek successfully.
all issues resolved.
working well.
—————————-
revision 1.6
date: 2013/07/17 06:43:42;  author: emblogic;  state: Exp;  lines: +239 -65
Implemnted lseek ..
written successfully after seeking.
read returning more than expected value.
—————————-
revision 1.5
date: 2013/07/11 08:48:05;  author: emblogic;  state: Exp;  lines: +19 -47
implemented read and write successfully for any no. of bytes.
checked for upto 1000 bytes .successfully written to scull Quantums and read from the quantums as well.
—————————-
revision 1.4
date: 2013/07/10 11:43:39;  author: emblogic;  state: Exp;  lines: +89 -8
read successfully .
—————————-
revision 1.3
date: 2013/07/10 06:02:17;  author: emblogic;  state: Exp;  lines: +58 -4
written to scull successfully using write2scull function.
working well.
but printing garbage due to absence of NULL.
—————————-
revision 1.2
date: 2013/07/09 12:03:54;  author: emblogic;  state: Exp;  lines: +170 -5
implemented creat_scullqset,creat_qset and creat_quantums….aloocated memory to write to scull.
quantums created successfully .
working well till now.
—————————-
revision 1.1
date: 2013/07/08 11:03:54;  author: emblogic;  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>