EmbLogic's Blog

Ranjeet Singh

RCS file: lkm.c,v
Working file: lkm.c
head: 1.14
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 14; selected revisions: 14
description:
This is loadable kernel module.
—————————-
revision 1.14
date: 2013/07/09 18:00:30; author: root; state: Exp; lines: +34 -2
define scull_trim function.
—————————-
revision 1.13
date: 2013/07/09 17:42:14; author: root; state: Exp; lines: +1 -1
preserve the lsculldev variable in flip->private_data.
—————————-
revision 1.12
date: 2013/07/09 17:35:41; author: root; state: Exp; lines: +22 -6
Declare a variable lsculldev.
store the pointer return by the container_of in this lsculldev variable.
—————————-
revision 1.11
date: 2013/07/04 11:40:49; author: root; state: Exp; lines: +27 -2
define functions “scull_open” and “scull_release”.
also successfully create node and an application successfully make open call using that node.
—————————-
revision 1.10
date: 2013/07/04 11:15:06; author: root; state: Exp; lines: +5 -4
declare ret in function cdevinit.
kernel crashes many time because of nod.
gave runtime value to nod.
—————————-
revision 1.9
date: 2013/07/04 10:13:38; author: root; state: Exp; lines: +38 -14
initialize 20 nods successfully using for loop.
—————————-
revision 1.8
date: 2013/07/04 08:00:25; author: ranjeet; state: Exp; lines: +47 -13
initialize the values of struct ScullDev using function scull_init.
initialize the values struct cdev using function cdevinit.
—————————-
revision 1.7
date: 2013/07/03 06:54:15; author: root; state: Exp; lines: +2 -1
using function module_param.
—————————-
revision 1.6
date: 2013/07/03 06:42:07; author: root; state: Exp; lines: +8 -1
initialize values to struct i_cdev’s variables.
also initialize values to the variables declared in struct ScullDev.
—————————-
revision 1.5
date: 2013/07/02 11:30:00; author: root; state: Exp; lines: +12 -1
In function init : call functions cdev_init & cdev_add.
—————————-
revision 1.4
date: 2013/07/02 11:01:33; author: root; state: Exp; lines: +5 -2
In function init: using kmalloc function & flush the garbage using memset.
In function exit: free allocated memory using kfree.
—————————-
revision 1.3
date: 2013/07/02 10:04:08; author: root; state: Exp; lines: +30 -6
in init function: call register_chrdev_region.
also printed the values of majorno and minorno.
also call MKDEV function.
—————————-
revision 1.2
date: 2013/07/02 09:43:30; author: root; state: Exp; lines: +15 -3
call alloc function for registering the device.
in exit func: call unregister_chrdev_region function for unregistering the device.
—————————-
revision 1.1
date: 2013/07/02 07:35:12; author: root; 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>