float Plus (float a, float b) { return a+b; } float Minus (float a, float b) { return a-b; } float Multiply(float a, float b) { return a*b; } float Divide (float a, float b) { return a/b; } // … Continue reading
RCS file: create_scull.c,v Working file: create_scull.c head: 1.67 branch: locks: strict root: 1.67 access list: symbolic names: keyword substitution: kv total revisions: 67; selected revisions: 67 description: this is a scull creating file —————————- revision 1.67 locked by: root; date: … Continue reading
This is insert the data into the ram and print it.
Character driver —————————- revision 1.38 date: 2016/03/11 05:46:49; author: root; state: Exp; lines: +0 -1 *** empty log message *** —————————- revision 1.37 date: 2016/03/10 09:52:22; author: root; state: Exp; lines: +1 -1 *** empty log message *** —————————- revision … Continue reading
Multitasking OS is the one that can simultaneously interleave execution of more then one process. They are of two types : >>cooperative multitasking : in this process don’t stop running until it voluntary decide to do so . This is … Continue reading
A character device driver is one that transfers data directly to and from a user process. This is the most common type of device driver and there are plenty of simple examples in the source tree. Character device drivers may … Continue reading
Hi! character driver steps of character driver writing – 1->create structure for device 2->Allocate memory 3->Initialise device 4->Insert device using modprobe /insmod command 5->Release device 3 .
In the char driver We write the Write Routine. This write routine is mapped in struct file operations . We use copy_from_user macro. this macro has three arguments. first is void* to second is const void* __user form and last … Continue reading
RCS file: header.h,v Working file: header.h head: 1.14 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 14; selected revisions: 14 description: this is basic header file —————————- revision 1.14 date: 2015/05/07 07:48:45; author: root; state: Exp; … Continue reading
RCS file: header.h,v Working file: header.h head: 1.6 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 6; selected revisions: 6 description: —————————- revision 1.6 date: 2015/04/28 15:54:10; author: root; state: Exp; lines: +16 -0 define the … Continue reading
RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: this is basic header file —————————- revision 1.1 date: 2015/04/24 05:20:37; author: root; state: Exp; … Continue reading
RCS file: header.h,v Working file: header.h head: 1.5 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: —————————- revision 1.5 date: 2015/04/26 15:51:54; author: root; state: Exp; lines: +1 -0 removed the … Continue reading
RCS file: init.c,v Working file: init.c head: 1.6 branch: locks: strict emblogic: 1.6 access list: symbolic names: keyword substitution: kv total revisions: 6; selected revisions: 6 description: Print a statement in the kernel Register in the kernel. —————————- revision 1.6 … Continue reading
RCS file: header.h,v Working file: header.h head: 1.10 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 10; selected revisions: 10 description: this is header file here various header files are included such as module param.h init.h … Continue reading
RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: includimg all the headerfile which are required like init.h modue.h kernel.h then give the author … Continue reading