EmbLogic's Blog

raspbery Pi 3 support flash player ?

As i am not able to open the www.emblogic.com , showing plugin required .

i had tried installing many plugins for the browser . but not able to do .

can any body knows ?

Posted in Uncategorized | Leave a comment

Different methods of swapping 2 numbers

#include<stdio.h>
void swap(int *,int *);

int main()
{
int temp;
int *t;
int a=100,b=200;
//Using 3 variables
//1.1
temp = a;
a = b;
b = temp;
printf(“%d %d\n”,a,b);
//1.2
swap(&a,&b);
printf(“%d %d\n”,a,b);

//Using 2 variables
//2.1
a += b;
b = a-b;
a = a-b;
printf(“%d %d\n”,a,b);
//2.2
if(a!=0 && b!=0)
{
a *= b;
b = a/b;
a = a/b;
printf(“%d %d\n”,a,b);
}
//2.3
a = a^b;
b = a^b;
a = a^b;
printf(“%d %d\n”,a,b);
//Using 2 variables in single step
//3.1
a = b+a-(b=a);
printf(“%d %d\n”,a,b);
//3.2
a = b*a/(b=a);
printf(“%d %d\n”,a,b);
//3.3
a ^=b^=a^=b;
printf(“%d %d\n”,a,b);
return 0;
}
void swap(int *x,int *y)
{
int tmp;
tmp = *x;
*x = *y;
*y = tmp;
}

Posted in Data Structures with C | Tagged , , , , | Leave a comment

Errors in “Hello World” program

#include<stdio.h>
int main()
{
printf(“Hello World”);
return 0;
}
/* Errors
Line 1 :-
*1. If u remove only preprocessor (#)->error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
*2.#nclude<stdio.h> ->  error: invalid preprocessing directive #nclude
*3. #include -> error: #include expects “FILENAME” or <FILENAME>
*4,5 #include<  -> error: missing terminating > character
#include<>    error: empty filename in #include
#include<stdio.h  -> 4th error
*6. #include<stdio> -> fatal error: stdio: No such file or directory

Line 2 :-
*7. int main(  -> error: expected declaration specifiers or ‘…’ before ‘{’ token
*8. int main   -> error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
*9. in main()  -> error: unknown type name ‘in’
*10. int main(*) -> error: expected declaration specifiers or ‘…’ before ‘*’ token
*11. int main(‘) ->  error: missing terminating ‘ character
*12. If no main() -> error: expected identifier or ‘(’ before ‘{’ token

Line 3 :-
*13. if no {  -> error: expected declaration specifiers before ‘printf’
error: expected declaration specifiers before ‘return’
error: expected declaration specifiers before ‘}’ token
*14. ..{  -> error: expected ‘{’ at end of input
*15. {..  -> error: expected expression before ‘.’ token

Line 4 :-
*16. printf(“Hello World”). -> error: expected identifier before ‘return’
*17. printf(“Hello World”) -> error: expected ; before ‘return’
*18. printf(“Hello World”) -> error: expected ‘)’ before ‘;’ token
error: expected ‘;’ before ‘}’ token
*19. print(“Hello World”)  -> undefined reference to `print’
*20. print(Hello World)  -> error: ‘Hello’ undeclared (first use in this function)
*21. print(“Hello World)  -> warning: missing terminating ” character [enabled by default]
error: missing terminating ” character
error: expected expression before ‘return’
error: expected ‘;’ before ‘}’ token
Line 5 :-
*22. return c; -> error: ‘c’ undeclared (first use in this function)
Line 6 :-
*23. missing } -> error: expected declaration or statement at end of inpu

*/

/* Warnings

w1. If u remove header -> warning: incompatible implicit declaration of built-in function ‘printf’
*w2. #include<stdio.h> -> warning: extra tokens at end of #include directive [enabled by default]
*w3. return NULL       -> warning: return makes integer from pointer without a cast

*/ Special Case :-
/* ; -> You can freely put ; or ;; anywhere in main (before fn., after fn., blank line etc.)
*      Except you can’t put ; after main();
*      ;int main() -> Valid
*      {; ->         Valid
*      }; ->         Valid
*      printf(“Hello World”);; -> Valid
*    Shows warning if used after #include<stdio.h>;
*/

Posted in Data Structures with C | Tagged , , , , , , | Leave a comment

fork call in inter process communication

In multitasking operating systems, processes (running programs) need a way to create new processes, e.g. to run other programs. Fork and its variants are typically the only way of doing so in Unix-like systems. For a process to start the execution of a different program, it first forks to create a copy of itself. Then, the copy, called the “child process“, calls the exec system call to overlay itself with the other program: it ceases execution of its former program in favor of the other.

The fork operation creates a separate address space for the child. The child process has an exact copy of all the memory segments of the parent process. In modern UNIX variants that follow the virtual memory model from SunOS-4.0, copy-on-write semantics are implemented and the physical memory need not be actually copied. Instead, virtual memory pages in both processes may refer to the same pages of physical memory until one of them writes to such a page: then it is copied. This optimization is important in the common case where fork is used in conjunction with exec to execute a new program: typically, the child process performs only a small set of actions before it ceases execution of its program in favour of the program to be started, and it requires very few, if any, of its parent’sdata structures.

When a process calls fork, it is deemed the parent process and the newly created process is its child. After the fork, both processes not only run the same program, but they resume execution as though both had called the system call. They can then inspect the call’s return value to determine their status, child or parent, and act accordingly.

Posted in Uncategorized | Leave a comment

What is bss (Block Storage Start) ?

The .bss segment stores all uninitialized global, static, and external variables (declared with extern keyword). Global, external, and static variable are by default initialized to zero. This section occupies no actual space in the object file. it is merely a place holder. uninitialized variables do not have to occupy any actual disk space in the object file.
The use of the term .bss to denote uninitialized data is universal. It Stands “Block Storage Start”.

Posted in Data Structures with C | Leave a comment

Matrix Addition using 2D Array with Pointers

#include
#include

int main()
{
int r,c,k;
printf(“enter the size of rows\n”);
scanf(“%d”,&r);
printf(“enter the size of columns\n”);
scanf(“%d”,&c);
int **a,**b,**d,i,j;
a=(int **)malloc(sizeof(int*)*3);
if(!a)
{
perror(“malloc”);
goto x;
}
for(i=0;i<3;i++)
*(a+i)=(int *)malloc(sizeof(int)*3);
if(!(*(a+i)))
{
perror("malloc");
goto x;
}
b=(int **)malloc(sizeof(int*)*3);
if(!b)
{
perror("malloc");
goto x;
}
for(i=0;i<3;i++)
*(b+i)=(int *)malloc(sizeof(int)*3);
if(!(*(b+i)))
{
perror("malloc");
goto x;
}
d=(int **)malloc(sizeof(int*)*3);
if(!d)
{
perror("malloc");
goto x;
}
for(i=0;i<3;i++)
*(d+i)=(int *)malloc(sizeof(int)*3);
if(!(*(d+i)))
{
perror("malloc");
goto x;
}

printf("enter the element of 1st matrix\n");
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
{
scanf("%d",*(a+i)+j);
}
}

printf("enter the element of 2nd matrix\n");
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
{
scanf("%d",*(b+i)+j);
}
}

printf("the element of 1st matrix\n");
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
{
printf("%d\t",*(*(a+i)+j));
}
printf("\n");
}

printf("\nthe element of 2nd matrix\n");
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
{
printf("%d\t",*(*(b+i)+j));
}
printf("\n");
}

for(i=0;i<r;i++)
{

for(j=0;j<c;j++)

{
*((*(d+i)+j)) = *((*(a+i))+j) + *((*(b+i))+j);

}
}

printf("\naddition is\n");

for(i=0;i<r;i++)
{
for(j=0;j<c;j++)

{
printf("%d\t",*((*(d+i))+j));
}
printf("\n");
}
return 0;
x:
return -1;
}

Posted in Data Structures with C | Leave a comment

rcs(revision control system)

The Revision Control System (RCS) is a software implementation of revision controlthat automates the storing, retrieval, logging, identification, and merging of revisions. RCS is useful for text that is revised frequently, for example programs, documentation, procedural graphics, papers, and form letters. RCS is also capable of handling binary files, though with reduced efficiency. Revisions are stored with the aid of the diff utility.it is operates only on a single file.

Posted in Uncategorized | Leave a comment

write a program for selection sort

#include<stdio.h>

int main()
{
int a[5];
int i,j,loc,smallest,temp;
printf(“enter array element”);
for(i=0;i<5;i++)
{
scanf(“%d”,&a[i]);
}
for(j=0;j<5;j++)
{
smallest=a[j];
for(i=j+1;i<5;i++)
{
if(a[i]<smallest)
{
smallest=a[i];
loc=i;
temp=a[j];
a[j]=a[loc];
a[loc]=temp;

}

}
printf(“sorted array is[%d]=%d\n”,j,a[j]);
}
return 0;
}

Posted in Uncategorized | Leave a comment

dangling and wild pointer

dandling pointer is a pointer which pointing to non existing memory location.

when a object is deleted or de allocated without modifying the value of the pointer that time dangling pointer arise.

uninitialized pointer are known as wild pointer beacause they point to some other memory location .

Posted in Data Structures with C | Leave a comment

link list basics in data c

Linked lists are among the simplest and most common data structures. They can be used to implement several other common abstract data types, including lists (the abstract data type), stacks, queues, associative arrays, and S-expressions, though it is not uncommon to implement the other data structures directly without using a list as the basis of implementation.

The principal benefit of a linked list over a conventional array is that the list elements can easily be inserted or removed without reallocation or reorganization of the entire structure because the data items need not be stored contiguously in memory or on disk, while an array has to be declared in the source code, before compiling and running the program. Linked lists allow insertion and removal of nodes at any point in the list, and can do so with a constant number of operations if the link previous to the link being added or removed is maintained during list traversal.

On the other hand, simple linked lists by themselves do not allow random access to the data, or any form of efficient indexing. Thus, many basic operations — such as obtaining the last node of the list (assuming that the last node is not maintained as separate node reference in the list structure), or finding a node that contains a given datum, or locating the place where a new node should be inserted — may require sequential scanning of most or all of the list elements

Posted in Uncategorized | Leave a comment

c++ QNA

The copy constructor is a constructor which creates an object by initializing it with an object of the same class, which has been created previously. The copy constructor is used to: Initialize one object from another of the same type. Copy an object to pass it as an argument to a function.

a friend function that is a “friend” of a given class is allowed access to private and protected data in that class that it would not normally be able to as if the data was public . Normally, a function that is defined outside of a class cannot access such information.

An existing class that is “parent” of a new class is called a base class. New class that inherits properties of the base class is called a derived class. Inheritance is a technique of code reuse. It also provides possibility to extend existing classes by creating derived classes.

An inline function is a function in which body is inserted in the place of its call. These functions can be compared with Macros. Inline functions are used to improve performance of the application. However, many inline functions can lead your program to grow up in size. That is why often only small functions are declared as inline

Posted in Uncategorized | Leave a comment

Introduction to IPC on Linux

Introduction to IPC on Linux

Inter-Process-Communication (or IPC for short) are mechanisms provided by the kernel to allow processes to communicate with each other. On modern systems, IPCs form the web that bind together each process within a large scale software architecture.

The Linux kernel provides the following IPC mechanisms:

Signals
Anonymous Pipes
Named Pipes or FIFOs
SysV Message Queues
POSIX Message Queues
SysV Shared memory
POSIX Shared memory
SysV semaphores
POSIX semaphores
FUTEX locks
File-backed and anonymous shared memory using mmap
UNIX Domain Sockets
Netlink Sockets
Network Sockets
Inotify mechanisms
FUSE subsystem
D-Bus subsystem

While the above list seems quite a lot, each IPC mechanism from the list describe above , is tailored to work better for a particular use-case scenario.
Signals

Signals are the cheapest forms of IPC provided by Linux. Their primary use is to notify processes of change in states or events that occur within the kernel or other processes. We use signals in real world to convey messages with least overhead – think of hand and body gestures. For example, in a crowded gathering, we raise a hand to gain attention, wave hand at a friend to greet and so on.

On Linux, the kernel notifies a process when an event or state change occurs by interrupting the process’s normal flow of execution and invoking one of the signal handler functinos registered by the process or by the invoking one of the default signal dispositions supplied by the kernel, for the said event.
Anonymous pipes

Anonymous pipes (or simply pipes, for short) provide a mechanism for one process to stream data to another. A pipe has two ends associated with a pair of file descriptors – making it a one-to-one messaging or communication mechanism. One end of the pipe is the read-end which is associated with a file-descriptor that can only be read, and the other end is the write-end which is associated with a file descriptor that can only be written. This design means that pipes are essentially half-duplex.

Anonymous pipes can be setup and used only between processes that share parent-child relationship. Generally the parent process creates a pipe and then forks child processes. Each child process gets access to the pipe created by the parent process via the file descriptors that get duplicated into their address space. This allows the parent to communicate with its children, or the children to communicate with each other using the shared pipe.

Pipes are generally used to implement Producer-Consumer design amongst processes – where one or more processes would produce data and stream them on one end of the pipe, while other processes would consume the data stream from the other end of the pipe.
Named pipes or FIFO

Named pipes (or FIFO) are variants of pipe that allow communication between processes that are not related to each other. The processes communicate using named pipes by opening a special file known as a FIFO file. One process opens the FIFO file from writing while the other process opens the same file for reading. Thus any data written by the former process gets streamed through a pipe to the latter process. The FIFO file on disk acts as the contract between the two processes that wish to communicate.
Message Queues

Message Queues are synonymous to mailboxes. One process writes a message packet on the message queue and exits. Another process can access the message packet from the same message queue at a latter point in time. The advantage of message queues over pipes/FIFOs are that the sender (or writer) processes do not have to wait for the receiver (or reader) processes to connect. Think of communication using pipes as similar to two people communicating over phone, while message queues are similar to two people communicating using mail or other messaging services.

There are two standard specifications for message queues.

SysV message queues.
The AT&T SysV message queues support message channeling. Each message packet sent by senders carry a message number. The receivers can either choose to receive message that match a particular message number, or receive all other messages excluding a particular message number or all messages.
POSIX message queues.
The POSIX message queues support message priorities. Each message packet sent by the senders carry a priority number along with the message payload. The messages get ordered based on the priority number in the message queue. When the receiver tries to read a message at a later point in time, the messages with higher priority numbers get delivered first. POSIX message queues also support asynchronous message delivery using threads or signal based notification.

Linux support both of the above standards for message queues.
Shared memory

As the name implies, this IPC mechanism allows one process to share a region of memory in its address space with another. This allows two or more processes to communicate data more efficiently amongst themselves with minimal kernel intervention.

There are two standard specifications for Shared memory.

SysV Shared memory. Many applications even today use this mechanism for historical reasons. It follows some of the artifacts of SysV IPC semantics.
POSIX Shared memory. The POSIX specifications provide a more elegant approach towards implementing shared memory interface. On Linux, POSIX Shared memory is actually implemented by using files backed by RAM-based filesystem. I recommend using this mechanism over the SysV semantics due to a more elegant file based semantics.

Semaphores

Semaphores are locking and synchronization mechanism used most widely when processes share resources. Linux supports both SysV semaphores and POSIX semaphores. POSIX semaphores provide a more simpler and elegant implementation and thus is most widely used when compared to SysV semaphores on Linux.
Futexes

Futexes are high-performance low-overhead locking mechanisms provided by the kernel. Direct use of futexes is highly discouraged in system programs. Futexes are used internally by POSIX threading API for condition variables and its mutex implementations.
UNIX Domain Sockets

UNIX Domain Sockets provide a mechanism for implementing applications that communicate using the Client-Server architecture. They support both stream and datagram oriented communication, are full-duplex and support a variety of options. They are very widely used for developing many large-scale frameworks.
Netlink Sockets

Netlink sockets are similar to UNIX Domain Sockets in its API semantics – but used mainly for two purposes:

For communication between a process in user-space to a thread in kernel-space
For communication amongst processes in user-space using broadcast mode.

Network Sockets

Based on the same API semantics like UNIX Domain Sockets, Network Sockets API provide mechanisms for communication between processes that run on different hosts on a network. Linux has rich support for features and various protocol stacks for using network sockets API. For all kinds of network programming and distributed programming – network socket APIs form the core interface.
Inotify mechanisms

The Inotify API on Linux provides a method for processes to know of any changes on a monitored file or a directory asynchronously. By adding a file to inotify watch-list, a process will be notified by the kernel on any changes to the file like open, read, write, changes to file stat, deleting a file and so on.
FUSE subsystem

FUSE provides a method to implement a fully functional filesystem in user-space. Various operations on the mounted FUSE filesystem would trigger functions registered by the user-space filesystem handler process. This technique can also be used as an IPC mechanism to implement Client-Server architecture without using socket API semantics.
D-Bus subsystem

D-Bus is a high-level IPC mechanism built generally on top of socket API that provides a mechanism for multiple processes to communicate with each other using various messaging patterns. D-Bus is a standards specification for processes communicating with each other and very widely used today by GUI implementations on Linux following Freedesktop.org specifications.

Posted in Uncategorized | Leave a comment

Difference Between Inline and Macro

Inline
An inline function is just like any other function in C++ and is also called in the regular way. The function it performs is that it creates a copy of the compiled function definition. That is, it creates a copy of the defined items to compile. An example can be taken if we are adding any two integers and call it the inline function, the compiler will create a copy of the integers to be compiled.
Example:

Inline int sum (int x, int y)
{
Return (x+y);
}

Macro
Macros in C++ implement text replacement in a program line. That is, they replace text according to the change defined in the function. Unlike inline as a function, a macro manipulates the code using a function. For example:
#define DOUBLE(X) X*X

int y = 5;
int j = DOUBLE (++y);

Here, we will get the value as 30! As the calling has been done via a macro, “X” has been replaced with ++y which makes ++y to be multiplied by another ++y. This makes a total of 5*6 that is 30 not 6. Six would be the basic but a wrong answer.

Now, macros might be causing a bug here. So an inline function comes to the rescue by copying the values to the compilers’ memory and then compiling it.

Summary:

1.An inline function creates a copy of the function definition.
2.A macro replaces the text as identified and defined within the function.
3.An inline function is also applied when a macro is supposed to cause a bug in the program.

Posted in Uncategorized | Leave a comment

char. driver

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: 2016/07/09 09:58:59; author: root; state: Exp; lines: +2 -0
debugging
—————————-
revision 1.66
date: 2016/07/09 09:54:57; author: root; state: Exp; lines: +1 -0
debuging
—————————-
revision 1.65
date: 2016/07/09 09:41:14; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.64
date: 2016/07/09 07:24:22; author: root; state: Exp; lines: +3 -1
debugging scull
—————————-
revision 1.63
date: 2016/07/08 19:27:47; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.62
date: 2016/07/08 19:22:39; author: root; state: Exp; lines: +5 -5
debugging
—————————-
revision 1.61
date: 2016/07/08 19:10:27; author: root; state: Exp; lines: +5 -5
debugging
—————————-
revision 1.60
date: 2016/07/08 18:48:02; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.59
date: 2016/07/08 18:44:44; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.58
date: 2016/07/08 18:13:03; author: root; state: Exp; lines: +0 -2
debugging.
—————————-
revision 1.57
date: 2016/07/08 02:57:17; author: root; state: Exp; lines: +6 -13
*** empty log message ***
—————————-
revision 1.56
date: 2016/07/06 07:16:15; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.55
date: 2016/07/06 07:13:45; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.54
date: 2016/07/05 11:41:42; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.53
date: 2016/07/05 11:36:38; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.52
date: 2016/07/05 11:36:00; author: root; state: Exp; lines: +2 -1
*** empty log message ***
—————————-
revision 1.51
date: 2016/07/05 11:30:00; author: root; state: Exp; lines: +5 -3
*** empty log message ***
—————————-
revision 1.50
date: 2016/07/05 11:23:14; author: root; state: Exp; lines: +9 -7
debugging
—————————-
revision 1.49
date: 2016/07/05 11:14:54; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.48
date: 2016/07/05 11:12:46; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.47
date: 2016/07/05 10:47:28; author: root; state: Exp; lines: +2 -2
this is the file after debugging.
—————————-
revision 1.46
date: 2016/07/05 08:23:16; author: root; state: Exp; lines: +1 -0
debugging
—————————-
revision 1.45
date: 2016/07/05 08:21:21; author: root; state: Exp; lines: +2 -2
debugging
—————————-
revision 1.44
date: 2016/07/05 07:54:03; author: root; state: Exp; lines: +2 -4
debugging
—————————-
revision 1.43
date: 2016/07/05 07:01:35; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.42
date: 2016/07/05 06:58:36; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.41
date: 2016/07/05 06:57:10; author: root; state: Exp; lines: +4 -1
debugging
—————————-
revision 1.40
date: 2016/07/05 06:53:16; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.39
date: 2016/07/05 06:52:35; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.38
date: 2016/07/05 06:29:38; author: root; state: Exp; lines: +4 -3
changing the value of to which it pointing
—————————-
revision 1.37
date: 2016/07/04 23:18:31; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.36
date: 2016/07/04 23:16:11; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.35
date: 2016/07/04 23:13:34; author: root; state: Exp; lines: +3 -5
*** empty log message ***
—————————-
revision 1.34
date: 2016/07/04 23:10:02; author: root; state: Exp; lines: +4 -3
printing a statement for debugging
—————————-
revision 1.33
date: 2016/07/04 23:01:33; author: root; state: Exp; lines: +1 -0
no such change
—————————-
revision 1.32
date: 2016/07/04 22:41:35; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.31
date: 2016/07/04 22:21:46; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.30
date: 2016/07/04 22:15:55; author: root; state: Exp; lines: +22 -22
no such change .
—————————-
revision 1.29
date: 2016/06/30 11:13:12; author: root; state: Exp; lines: +2 -2
debugging
—————————-
revision 1.28
date: 2016/06/30 11:04:22; author: root; state: Exp; lines: +3 -1
printing the addresses
—————————-
revision 1.27
date: 2016/06/30 10:47:14; author: root; state: Exp; lines: +28 -4
added a memory segment for quantum.
—————————-
revision 1.26
date: 2016/06/30 09:19:10; author: root; state: Exp; lines: +3 -2
checking the value of first and last pointer
—————————-
revision 1.25
date: 2016/06/30 09:02:19; author: root; state: Exp; lines: +3 -3
removing or debugging
—————————-
revision 1.24
date: 2016/06/30 08:54:33; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.23
date: 2016/06/30 08:49:27; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.22
date: 2016/06/30 08:06:13; author: root; state: Exp; lines: +3 -4
edited the commant
—————————-
revision 1.21
date: 2016/06/30 07:28:48; author: root; state: Exp; lines: +2 -2
printing noqs for error
—————————-
revision 1.20
date: 2016/06/30 03:59:13; author: root; state: Exp; lines: +4 -3
Debugging
—————————-
revision 1.19
date: 2016/06/28 11:53:42; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.18
date: 2016/06/28 11:52:39; author: root; state: Exp; lines: +1 -0
debugging
—————————-
revision 1.17
date: 2016/06/28 11:47:03; author: root; state: Exp; lines: +2 -1
debugging
—————————-
revision 1.16
date: 2016/06/28 11:43:48; author: root; state: Exp; lines: +7 -0
*** empty log message ***
—————————-
revision 1.15
date: 2016/06/28 11:38:49; author: root; state: Exp; lines: +3 -2
removing a error
—————————-
revision 1.14
date: 2016/06/28 11:09:33; author: root; state: Exp; lines: +2 -3
just changing the variable name
—————————-
revision 1.13
date: 2016/06/28 07:35:20; author: root; state: Exp; lines: +1 -1
removing one error of memset
—————————-
revision 1.12
date: 2016/06/28 07:34:22; author: root; state: Exp; lines: +1 -1
removed one error
—————————-
revision 1.11
date: 2016/06/28 07:33:22; author: root; state: Exp; lines: +1 -1
removing error
—————————-
revision 1.10
date: 2016/06/28 07:23:14; author: root; state: Exp; lines: +1 -1
only a error of semicolon which is use to remove by adding a semicolon
—————————-
revision 1.9
date: 2016/06/28 07:22:12; author: root; state: Exp; lines: +8 -3
in this i use to initilise the qset now
—————————-
revision 1.8
date: 2016/06/28 06:14:12; author: root; state: Exp; lines: +17 -4
in this i use to
—————————-
revision 1.7
date: 2016/06/27 12:21:20; author: root; state: Exp; lines: +1 -2
*** empty log message ***
—————————-
revision 1.6
date: 2016/06/27 12:19:50; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.5
date: 2016/06/27 12:17:27; author: root; state: Exp; lines: +1 -4
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/27 12:02:15; author: root; state: Exp; lines: +1 -2
no such change
—————————-
revision 1.3
date: 2016/06/27 12:00:39; author: root; state: Exp; lines: +4 -0
printing a error statement
—————————-
revision 1.2
date: 2016/06/27 11:55:14; author: root; state: Exp; lines: +1 -1
removing error
—————————-
revision 1.1
date: 2016/06/27 11:46:46; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_open.c,v
Working file: dev_open.c
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
this is a open call routine function
—————————-
revision 1.6 locked by: root;
date: 2016/06/28 06:15:30; author: root; state: Exp; lines: +3 -1
no such change
—————————-
revision 1.5
date: 2016/06/24 05:40:13; author: root; state: Exp; lines: +16 -1
in this i added i dev_trim function
—————————-
revision 1.4
date: 2016/06/23 10:24:20; author: root; state: Exp; lines: +3 -0
declaring the function of cointainer
—————————-
revision 1.3
date: 2016/06/23 08:24:02; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.2
date: 2016/06/23 04:49:15; author: root; state: Exp; lines: +1 -1
in this file no such change had been done
—————————-
revision 1.1
date: 2016/06/21 11:15:07; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_read.c,v
Working file: dev_read.c
head: 1.16
branch:
locks: strict
root: 1.16
access list:
symbolic names:
keyword substitution: kv
total revisions: 16; selected revisions: 16
description:
this is the read file routine
—————————-
revision 1.16 locked by: root;
date: 2016/07/12 09:46:45; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.15
date: 2016/07/12 08:39:17; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.14
date: 2016/07/12 08:24:52; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.13
date: 2016/07/12 08:21:13; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.12
date: 2016/07/12 08:15:10; author: root; state: Exp; lines: +1 -1
reading the offset position.
—————————-
revision 1.11
date: 2016/07/12 08:11:50; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.10
date: 2016/07/12 07:32:26; author: root; state: Exp; lines: +1 -0
*** empty log message ***
—————————-
revision 1.9
date: 2016/07/12 06:21:06; author: root; state: Exp; lines: +3 -0
reinitialising the file offset
—————————-
revision 1.8
date: 2016/07/12 05:56:28; author: root; state: Exp; lines: +5 -0
just getting the file offset position
—————————-
revision 1.7
date: 2016/07/11 12:32:02; author: root; state: Exp; lines: +2 -0
*** empty log message ***
—————————-
revision 1.6
date: 2016/07/11 12:26:28; author: root; state: Exp; lines: +1 -1
removing the error of noctw.
—————————-
revision 1.5
date: 2016/07/09 13:56:49; author: root; state: Exp; lines: +1 -1
no change
—————————-
revision 1.4
date: 2016/07/08 17:54:47; author: root; state: Exp; lines: +31 -2
added a prinrt statement for checking the value is coming or not
—————————-
revision 1.3
date: 2016/07/08 04:30:08; author: root; state: Exp; lines: +3 -0
no change
—————————-
revision 1.2
date: 2016/06/26 05:43:48; author: root; state: Exp; lines: +1 -1
this is read module file
—————————-
revision 1.1
date: 2016/06/24 11:41:30; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_release.c,v
Working file: dev_release.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
it’s a release file
routine
—————————-
revision 1.1 locked by: root;
date: 2016/07/09 13:57:01; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_seek.c,v
Working file: dev_seek.c
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
this is a lseek routine .
—————————-
revision 1.4 locked by: root;
date: 2016/07/12 08:11:53; author: root; state: Exp; lines: +2 -1
*** empty log message ***
—————————-
revision 1.3
date: 2016/07/12 07:21:00; author: root; state: Exp; lines: +1 -0
printing astatement
—————————-
revision 1.2
date: 2016/07/12 07:15:11; author: root; state: Exp; lines: +1 -0
derefrancing the f_pos of struct file
—————————-
revision 1.1
date: 2016/07/12 00:00:34; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_trim.c,v
Working file: dev_trim.c
head: 1.3
branch:
locks: strict
root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
this is the function of trimming the file
—————————-
revision 1.3 locked by: root;
date: 2016/07/08 04:30:20; author: root; state: Exp; lines: +23 -2
deleting the quantum and ALSO freeing the memory .
—————————-
revision 1.2
date: 2016/07/08 02:57:20; author: root; state: Exp; lines: +4 -0
no such change
—————————-
revision 1.1
date: 2016/06/24 05:40:42; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_write.c,v
Working file: dev_write.c
head: 1.20
branch:
locks: strict
root: 1.20
access list:
symbolic names:
keyword substitution: kv
total revisions: 20; selected revisions: 20
description:
this is a write routine
—————————-
revision 1.20 locked by: root;
date: 2016/07/12 08:39:25; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.19
date: 2016/07/12 08:21:14; author: root; state: Exp; lines: +0 -2
..
—————————-
revision 1.18
date: 2016/07/12 08:15:31; author: root; state: Exp; lines: +1 -1
reading the offset position.
—————————-
revision 1.17
date: 2016/07/12 08:11:54; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.16
date: 2016/07/12 07:32:28; author: root; state: Exp; lines: +3 -1
*** empty log message ***
—————————-
revision 1.15
date: 2016/07/12 06:21:39; author: root; state: Exp; lines: +5 -0
reinitialising the file offset
—————————-
revision 1.14
date: 2016/07/12 05:56:55; author: root; state: Exp; lines: +4 -1
just getting the file offset position
—————————-
revision 1.13
date: 2016/07/08 18:08:18; author: root; state: Exp; lines: +1 -2
debugging
—————————-
revision 1.12
date: 2016/07/08 17:55:24; author: root; state: Exp; lines: +3 -2
*** empty log message ***
—————————-
revision 1.11
date: 2016/07/08 05:18:43; author: root; state: Exp; lines: +1 -1
removing the error of looping.
—————————-
revision 1.10
date: 2016/07/08 05:03:39; author: root; state: Exp; lines: +1 -1
printing veriable i.
—————————-
revision 1.9
date: 2016/07/08 02:57:31; author: root; state: Exp; lines: +10 -10
no change
—————————-
revision 1.8
date: 2016/07/05 11:08:44; author: root; state: Exp; lines: +7 -6
removing the error .
—————————-
revision 1.7
date: 2016/07/05 10:48:05; author: root; state: Exp; lines: +22 -2
in this a copy_from_user function is decleared
—————————-
revision 1.6
date: 2016/07/04 20:47:30; author: root; state: Exp; lines: +1 -1
recorrecting the error
—————————-
revision 1.5
date: 2016/07/04 20:45:17; author: root; state: Exp; lines: +1 -1
returning the required bytes
—————————-
revision 1.4
date: 2016/06/27 11:51:22; author: root; state: Exp; lines: +3 -3
edited the errors
—————————-
revision 1.3
date: 2016/06/27 11:47:05; author: root; state: Exp; lines: +17 -0
here calling of create_scull and another variables
—————————-
revision 1.2
date: 2016/06/24 10:29:09; author: root; state: Exp; lines: +1 -1
declearing the type of write function
—————————-
revision 1.1
date: 2016/06/24 10:21:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: insert_drivr.c,v
Working file: insert_drivr.c
head: 1.20
branch:
locks: strict
root: 1.20
access list:
symbolic names:
keyword substitution: kv
total revisions: 20; selected revisions: 20
description:
this file is a file of inserting a driver in kernal,i.e the driver start from here
—————————-
revision 1.20 locked by: root;
date: 2016/07/14 04:20:09; author: root; state: Exp; lines: +5 -0
added a semaphore initialisation
—————————-
revision 1.19
date: 2016/06/27 11:47:43; author: root; state: Exp; lines: +10 -10
*** empty log message ***
—————————-
revision 1.18
date: 2016/06/26 06:25:43; author: root; state: Exp; lines: +1 -1
changing the value of arguement of MKDEV FUNCTION
—————————-
revision 1.17
date: 2016/06/26 06:22:30; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.16
date: 2016/06/26 06:19:07; author: root; state: Exp; lines: +1 -1
removing 1 error of semicolon
—————————-
revision 1.15
date: 2016/06/26 06:17:28; author: root; state: Exp; lines: +8 -6
in this i use to varible and increase the no. of nodes
—————————-
revision 1.14
date: 2016/06/24 06:05:02; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.13
date: 2016/06/24 05:50:12; author: root; state: Exp; lines: +3 -3
no such changes
—————————-
revision 1.12
date: 2016/06/23 09:03:18; author: root; state: Exp; lines: +4 -0
adding some of the functions which is defined in fs.h
—————————-
revision 1.11
date: 2016/06/23 08:24:24; author: root; state: Exp; lines: +0 -1
removed changes
—————————-
revision 1.10
date: 2016/06/23 04:49:38; author: root; state: Exp; lines: +2 -2
no such change
—————————-
revision 1.9
date: 2016/06/21 11:16:06; author: root; state: Exp; lines: +11 -1
in this no such change occur
—————————-
revision 1.8
date: 2016/06/18 11:26:07; author: root; state: Exp; lines: +5 -1
i decleared the cdev function and and file_operation structeure’s variable
—————————-
revision 1.7
date: 2016/06/18 07:52:02; author: root; state: Exp; lines: +3 -3
in this i initilise the dev veriable
—————————-
revision 1.6
date: 2016/06/18 05:40:48; author: root; state: Exp; lines: +10 -1
in this file i use to change the kmalloc()
—————————-
revision 1.5
date: 2016/06/17 07:38:13; author: root; state: Exp; lines: +1 -0
some of the changes done after getting error
—————————-
revision 1.4
date: 2016/06/17 07:01:53; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/17 06:59:33; author: root; state: Exp; lines: +5 -1
just adding a semicolon
—————————-
revision 1.2
date: 2016/06/17 06:50:27; author: root; state: Exp; lines: +7 -1
in this i register alloc_chrdev_region() function
which is use to register the driver
—————————-
revision 1.1
date: 2016/06/16 05:37:33; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: rm_drivr.c,v
Working file: rm_drivr.c
head: 1.11
branch:
locks: strict
root: 1.11
access list:
symbolic names:
keyword substitution: kv
total revisions: 11; selected revisions: 11
description:
this file is for removing that driver from kernal module
—————————-
revision 1.11 locked by: root;
date: 2016/06/28 10:20:12; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.10
date: 2016/06/28 10:18:51; author: root; state: Exp; lines: +3 -1
defining the no. of dev element to deleted
—————————-
revision 1.9
date: 2016/06/27 11:47:48; author: root; state: Exp; lines: +1 -1
no change
,.
—————————-
revision 1.8
date: 2016/06/23 05:08:12; author: root; state: Exp; lines: +1 -1
changing the variable NOD to nod
—————————-
revision 1.7
date: 2016/06/21 11:17:17; author: root; state: Exp; lines: +3 -1
added some of func. i.e. kfree and also cdev_del
—————————-
revision 1.6
date: 2016/06/18 11:27:39; author: root; state: Exp; lines: +1 -0
no changw
—————————-
revision 1.5
date: 2016/06/18 07:52:32; author: root; state: Exp; lines: +1 -0
may be any change
—————————-
revision 1.4
date: 2016/06/18 05:41:18; author: root; state: Exp; lines: +1 -0
in this i use to initilise the kfree()
—————————-
revision 1.3
date: 2016/06/17 07:03:52; author: root; state: Exp; lines: +1 -1
in this file i use to add declaration.h file
—————————-
revision 1.2
date: 2016/06/17 06:52:37; author: root; state: Exp; lines: +1 -0
in this i use to unregister_chrdev_region() fun calling which is use to unregisterthe driver
—————————-
revision 1.1
date: 2016/06/16 05:38:39; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: declaration.h,v
Working file: declaration.h
head: 1.15
branch:
locks: strict
root: 1.15
access list:
symbolic names:
keyword substitution: kv
total revisions: 15; selected revisions: 15
description:
in this there is a decleration of major no.
minorno.
and dev_id and also no. of nodes
—————————-
revision 1.15 locked by: root;
date: 2016/07/14 04:20:34; author: root; state: Exp; lines: +1 -0
decleration of semaphore variable
—————————-
revision 1.14
date: 2016/07/12 00:01:02; author: root; state: Exp; lines: +1 -0
decleration of dev_lseek
—————————-
revision 1.13
date: 2016/07/09 13:57:27; author: root; state: Exp; lines: +1 -0
decleared a dev_release routine
—————————-
revision 1.12
date: 2016/07/05 11:09:21; author: root; state: Exp; lines: +1 -1
no change
—————————-
revision 1.11
date: 2016/07/05 10:48:36; author: root; state: Exp; lines: +3 -1
decleration of datasize and devicesize
—————————-
revision 1.10
date: 2016/06/27 11:43:52; author: root; state: Exp; lines: +7 -5
declearation of quantumsize and qset
—————————-
revision 1.9
date: 2016/06/26 05:57:27; author: root; state: Exp; lines: +1 -1

—————————-
revision 1.8
date: 2016/06/24 11:46:22; author: root; state: Exp; lines: +1 -0
*** empty log message ***
—————————-
revision 1.7
date: 2016/06/24 10:22:03; author: root; state: Exp; lines: +1 -0
declearing the dev_write function
—————————-
revision 1.6
date: 2016/06/24 06:08:50; author: root; state: Exp; lines: +1 -1
added a semicolon
—————————-
revision 1.5
date: 2016/06/24 05:41:08; author: root; state: Exp; lines: +1 -0
in this i decleared the prototype of dev_trim
—————————-
revision 1.4
date: 2016/06/23 04:50:17; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/21 11:18:02; author: root; state: Exp; lines: +1 -0
some of the declaration i.e. open call func.
—————————-
revision 1.2
date: 2016/06/18 05:41:46; author: root; state: Exp; lines: +15 -1
in this i declare the dev and qset structure
—————————-
revision 1.1
date: 2016/06/17 06:54:11; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: file_operation.h,v
Working file: file_operation.h
head: 1.11
branch:
locks: strict
root: 1.11
access list:
symbolic names:
keyword substitution: kv
total revisions: 11; selected revisions: 11
description:
this is a file operation file
—————————-
revision 1.11 locked by: root;
date: 2016/07/12 00:01:26; author: root; state: Exp; lines: +2 -1
routine mapping
—————————-
revision 1.10
date: 2016/07/09 13:57:50; author: root; state: Exp; lines: +1 -1
prototype of dev_release
funtion
—————————-
revision 1.9
date: 2016/06/24 11:41:56; author: root; state: Exp; lines: +2 -1
added read file routine structure
—————————-
revision 1.8
date: 2016/06/24 10:26:13; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.7
date: 2016/06/24 10:24:19; author: root; state: Exp; lines: +1 -1
commenting the release call
—————————-
revision 1.6
date: 2016/06/24 10:22:34; author: root; state: Exp; lines: +3 -1
added the dev_write structure variable
—————————-
revision 1.5
date: 2016/06/24 06:05:08; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/23 04:50:54; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2016/06/23 04:06:10; author: root; state: Exp; lines: +1 -1
no change
—————————-
revision 1.2
date: 2016/06/21 11:18:38; author: root; state: Exp; lines: +4 -1
this is the open call routine structure
—————————-
revision 1.1
date: 2016/06/18 11:28:04; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: header.h,v
Working file: header.h
head: 1.13
branch:
locks: strict
root: 1.13
access list:
symbolic names:
keyword substitution: kv
total revisions: 13; selected revisions: 13
description:
this is a header file for driver in which the driver’s header file is use to pull from user space
—————————-
revision 1.13 locked by: root;
date: 2016/07/05 10:49:00; author: root; state: Exp; lines: +9 -0
macro devicesize and datasize
—————————-
revision 1.12
date: 2016/06/30 10:47:38; author: root; state: Exp; lines: +1 -1
making the size of qset 8.
—————————-
revision 1.11
date: 2016/06/30 09:06:19; author: root; state: Exp; lines: +1 -1
decreasing qsetsize value
—————————-
revision 1.10
date: 2016/06/27 11:55:46; author: root; state: Exp; lines: +1 -1
removing error
—————————-
revision 1.9
date: 2016/06/27 11:44:27; author: root; state: Exp; lines: +13 -0
Quantumsize and qsetsize macro decleared
—————————-
revision 1.8
date: 2016/06/23 10:28:39; author: root; state: Exp; lines: +1 -1
corrcting the name of header file
—————————-
revision 1.7
date: 2016/06/23 10:24:52; author: root; state: Exp; lines: +1 -0
in this i added the header file kernel.h
—————————-
revision 1.6
date: 2016/06/23 08:24:53; author: root; state: Exp; lines: +2 -3
no such change
—————————-
revision 1.5
date: 2016/06/23 04:50:58; author: root; state: Exp; lines: +3 -2
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/21 11:19:05; author: root; state: Exp; lines: +6 -0
some of the header files for chracter drivr
—————————-
revision 1.3
date: 2016/06/18 05:42:36; author: root; state: Exp; lines: +5 -1
in this i use to initilise no. of devices
—————————-
revision 1.2
date: 2016/06/17 06:55:29; author: root; state: Exp; lines: +14 -0
in this there is a macro of Device name major no minor no and no. od nodes
—————————-
revision 1.1
date: 2016/06/16 05:39:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: insert_drivr.c,v
Working file: insert_drivr.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this file is a file of inserting a driver in kernal,i.e the driver start from here
—————————-
revision 1.1 locked by: root;
date: 2016/06/16 05:37:33; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: rm_drivr.c,v
Working file: rm_drivr.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this file is for removing that driver from kernal module
—————————-
revision 1.1 locked by: root;
date: 2016/06/16 05:38:39; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: header.h,v
Working file: header.h
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is a header file for driver in which the driver’s header file is use to pull from user space
—————————-
revision 1.1 locked by: root;
date: 2016/06/16 05:39:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: insert_drivr.c,v
Working file: insert_drivr.c
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
this file is a file of inserting a driver in kernal,i.e the driver start from here
—————————-
revision 1.8 locked by: root;
date: 2016/06/18 11:26:07; author: root; state: Exp; lines: +5 -1
i decleared the cdev function and and file_operation structeure’s variable
—————————-
revision 1.7
date: 2016/06/18 07:52:02; author: root; state: Exp; lines: +3 -3
in this i initilise the dev veriable
—————————-
revision 1.6
date: 2016/06/18 05:40:48; author: root; state: Exp; lines: +10 -1
in this file i use to change the kmalloc()
—————————-
revision 1.5
date: 2016/06/17 07:38:13; author: root; state: Exp; lines: +1 -0
some of the changes done after getting error
—————————-
revision 1.4
date: 2016/06/17 07:01:53; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/17 06:59:33; author: root; state: Exp; lines: +5 -1
just adding a semicolon
—————————-
revision 1.2
date: 2016/06/17 06:50:27; author: root; state: Exp; lines: +7 -1
in this i register alloc_chrdev_region() function
which is use to register the driver
—————————-
revision 1.1
date: 2016/06/16 05:37:33; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: rm_drivr.c,v
Working file: rm_drivr.c
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
this file is for removing that driver from kernal module
—————————-
revision 1.6 locked by: root;
date: 2016/06/18 11:27:39; author: root; state: Exp; lines: +1 -0
no changw
—————————-
revision 1.5
date: 2016/06/18 07:52:32; author: root; state: Exp; lines: +1 -0
may be any change
—————————-
revision 1.4
date: 2016/06/18 05:41:18; author: root; state: Exp; lines: +1 -0
in this i use to initilise the kfree()
—————————-
revision 1.3
date: 2016/06/17 07:03:52; author: root; state: Exp; lines: +1 -1
in this file i use to add declaration.h file
—————————-
revision 1.2
date: 2016/06/17 06:52:37; author: root; state: Exp; lines: +1 -0
in this i use to unregister_chrdev_region() fun calling which is use to unregisterthe driver
—————————-
revision 1.1
date: 2016/06/16 05:38:39; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: declaration.h,v
Working file: declaration.h
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
in this there is a decleration of major no.
minorno.
and dev_id and also no. of nodes
—————————-
revision 1.2 locked by: root;
date: 2016/06/18 05:41:46; author: root; state: Exp; lines: +15 -1
in this i declare the dev and qset structure
—————————-
revision 1.1
date: 2016/06/17 06:54:11; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: file_operation.h,v
Working file: file_operation.h
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is a file operation file
—————————-
revision 1.1 locked by: root;
date: 2016/06/18 11:28:04; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: header.h,v
Working file: header.h
head: 1.3
branch:
locks: strict
root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
this is a header file for driver in which the driver’s header file is use to pull from user space
—————————-
revision 1.3 locked by: root;
date: 2016/06/18 05:42:36; author: root; state: Exp; lines: +5 -1
in this i use to initilise no. of devices
—————————-
revision 1.2
date: 2016/06/17 06:55:29; author: root; state: Exp; lines: +14 -0
in this there is a macro of Device name major no minor no and no. od nodes
—————————-
revision 1.1
date: 2016/06/16 05:39:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_open.c,v
Working file: dev_open.c
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
this is a open call routine function
—————————-
revision 1.5 locked by: root;
date: 2016/06/24 05:40:13; author: root; state: Exp; lines: +16 -1
in this i added i dev_trim function
—————————-
revision 1.4
date: 2016/06/23 10:24:20; author: root; state: Exp; lines: +3 -0
declaring the function of cointainer
—————————-
revision 1.3
date: 2016/06/23 08:24:02; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.2
date: 2016/06/23 04:49:15; author: root; state: Exp; lines: +1 -1
in this file no such change had been done
—————————-
revision 1.1
date: 2016/06/21 11:15:07; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_read.c,v
Working file: dev_read.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this is the read file routine
—————————-
revision 1.2 locked by: root;
date: 2016/06/26 05:43:48; author: root; state: Exp; lines: +1 -1
this is read module file
—————————-
revision 1.1
date: 2016/06/24 11:41:30; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_trim.c,v
Working file: dev_trim.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is the function of trimming the file
—————————-
revision 1.1 locked by: root;
date: 2016/06/24 05:40:42; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_write.c,v
Working file: dev_write.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this is a write routine
—————————-
revision 1.2 locked by: root;
date: 2016/06/24 10:29:09; author: root; state: Exp; lines: +1 -1
declearing the type of write function
—————————-
revision 1.1
date: 2016/06/24 10:21:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: insert_drivr.c,v
Working file: insert_drivr.c
head: 1.18
branch:
locks: strict
root: 1.18
access list:
symbolic names:
keyword substitution: kv
total revisions: 18; selected revisions: 18
description:
this file is a file of inserting a driver in kernal,i.e the driver start from here
—————————-
revision 1.18 locked by: root;
date: 2016/06/26 06:25:43; author: root; state: Exp; lines: +1 -1
changing the value of arguement of MKDEV FUNCTION
—————————-
revision 1.17
date: 2016/06/26 06:22:30; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.16
date: 2016/06/26 06:19:07; author: root; state: Exp; lines: +1 -1
removing 1 error of semicolon
—————————-
revision 1.15
date: 2016/06/26 06:17:28; author: root; state: Exp; lines: +8 -6
in this i use to varible and increase the no. of nodes
—————————-
revision 1.14
date: 2016/06/24 06:05:02; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.13
date: 2016/06/24 05:50:12; author: root; state: Exp; lines: +3 -3
no such changes
—————————-
revision 1.12
date: 2016/06/23 09:03:18; author: root; state: Exp; lines: +4 -0
adding some of the functions which is defined in fs.h
—————————-
revision 1.11
date: 2016/06/23 08:24:24; author: root; state: Exp; lines: +0 -1
removed changes
—————————-
revision 1.10
date: 2016/06/23 04:49:38; author: root; state: Exp; lines: +2 -2
no such change
—————————-
revision 1.9
date: 2016/06/21 11:16:06; author: root; state: Exp; lines: +11 -1
in this no such change occur
—————————-
revision 1.8
date: 2016/06/18 11:26:07; author: root; state: Exp; lines: +5 -1
i decleared the cdev function and and file_operation structeure’s variable
—————————-
revision 1.7
date: 2016/06/18 07:52:02; author: root; state: Exp; lines: +3 -3
in this i initilise the dev veriable
—————————-
revision 1.6
date: 2016/06/18 05:40:48; author: root; state: Exp; lines: +10 -1
in this file i use to change the kmalloc()
—————————-
revision 1.5
date: 2016/06/17 07:38:13; author: root; state: Exp; lines: +1 -0
some of the changes done after getting error
—————————-
revision 1.4
date: 2016/06/17 07:01:53; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/17 06:59:33; author: root; state: Exp; lines: +5 -1
just adding a semicolon
—————————-
revision 1.2
date: 2016/06/17 06:50:27; author: root; state: Exp; lines: +7 -1
in this i register alloc_chrdev_region() function
which is use to register the driver
—————————-
revision 1.1
date: 2016/06/16 05:37:33; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: rm_drivr.c,v
Working file: rm_drivr.c
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
this file is for removing that driver from kernal module
—————————-
revision 1.8 locked by: root;
date: 2016/06/23 05:08:12; author: root; state: Exp; lines: +1 -1
changing the variable NOD to nod
—————————-
revision 1.7
date: 2016/06/21 11:17:17; author: root; state: Exp; lines: +3 -1
added some of func. i.e. kfree and also cdev_del
—————————-
revision 1.6
date: 2016/06/18 11:27:39; author: root; state: Exp; lines: +1 -0
no changw
—————————-
revision 1.5
date: 2016/06/18 07:52:32; author: root; state: Exp; lines: +1 -0
may be any change
—————————-
revision 1.4
date: 2016/06/18 05:41:18; author: root; state: Exp; lines: +1 -0
in this i use to initilise the kfree()
—————————-
revision 1.3
date: 2016/06/17 07:03:52; author: root; state: Exp; lines: +1 -1
in this file i use to add declaration.h file
—————————-
revision 1.2
date: 2016/06/17 06:52:37; author: root; state: Exp; lines: +1 -0
in this i use to unregister_chrdev_region() fun calling which is use to unregisterthe driver
—————————-
revision 1.1
date: 2016/06/16 05:38:39; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: declaration.h,v
Working file: declaration.h
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
in this there is a decleration of major no.
minorno.
and dev_id and also no. of nodes
—————————-
revision 1.9 locked by: root;
date: 2016/06/26 05:57:27; author: root; state: Exp; lines: +1 -1

—————————-
revision 1.8
date: 2016/06/24 11:46:22; author: root; state: Exp; lines: +1 -0
*** empty log message ***
—————————-
revision 1.7
date: 2016/06/24 10:22:03; author: root; state: Exp; lines: +1 -0
declearing the dev_write function
—————————-
revision 1.6
date: 2016/06/24 06:08:50; author: root; state: Exp; lines: +1 -1
added a semicolon
—————————-
revision 1.5
date: 2016/06/24 05:41:08; author: root; state: Exp; lines: +1 -0
in this i decleared the prototype of dev_trim
—————————-
revision 1.4
date: 2016/06/23 04:50:17; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/21 11:18:02; author: root; state: Exp; lines: +1 -0
some of the declaration i.e. open call func.
—————————-
revision 1.2
date: 2016/06/18 05:41:46; author: root; state: Exp; lines: +15 -1
in this i declare the dev and qset structure
—————————-
revision 1.1
date: 2016/06/17 06:54:11; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: file_operation.h,v
Working file: file_operation.h
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
this is a file operation file
—————————-
revision 1.9 locked by: root;
date: 2016/06/24 11:41:56; author: root; state: Exp; lines: +2 -1
added read file routine structure
—————————-
revision 1.8
date: 2016/06/24 10:26:13; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.7
date: 2016/06/24 10:24:19; author: root; state: Exp; lines: +1 -1
commenting the release call
—————————-
revision 1.6
date: 2016/06/24 10:22:34; author: root; state: Exp; lines: +3 -1
added the dev_write structure variable
—————————-
revision 1.5
date: 2016/06/24 06:05:08; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/23 04:50:54; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2016/06/23 04:06:10; author: root; state: Exp; lines: +1 -1
no change
—————————-
revision 1.2
date: 2016/06/21 11:18:38; author: root; state: Exp; lines: +4 -1
this is the open call routine structure
—————————-
revision 1.1
date: 2016/06/18 11:28:04; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: header.h,v
Working file: header.h
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
this is a header file for driver in which the driver’s header file is use to pull from user space
—————————-
revision 1.8 locked by: root;
date: 2016/06/23 10:28:39; author: root; state: Exp; lines: +1 -1
corrcting the name of header file
—————————-
revision 1.7
date: 2016/06/23 10:24:52; author: root; state: Exp; lines: +1 -0
in this i added the header file kernel.h
—————————-
revision 1.6
date: 2016/06/23 08:24:53; author: root; state: Exp; lines: +2 -3
no such change
—————————-
revision 1.5
date: 2016/06/23 04:50:58; author: root; state: Exp; lines: +3 -2
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/21 11:19:05; author: root; state: Exp; lines: +6 -0
some of the header files for chracter drivr
—————————-
revision 1.3
date: 2016/06/18 05:42:36; author: root; state: Exp; lines: +5 -1
in this i use to initilise no. of devices
—————————-
revision 1.2
date: 2016/06/17 06:55:29; author: root; state: Exp; lines: +14 -0
in this there is a macro of Device name major no minor no and no. od nodes
—————————-
revision 1.1
date: 2016/06/16 05:39:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_open.c,v
Working file: dev_open.c
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
this is a open call routine function
—————————-
revision 1.5 locked by: root;
date: 2016/06/24 05:40:13; author: root; state: Exp; lines: +16 -1
in this i added i dev_trim function
—————————-
revision 1.4
date: 2016/06/23 10:24:20; author: root; state: Exp; lines: +3 -0
declaring the function of cointainer
—————————-
revision 1.3
date: 2016/06/23 08:24:02; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.2
date: 2016/06/23 04:49:15; author: root; state: Exp; lines: +1 -1
in this file no such change had been done
—————————-
revision 1.1
date: 2016/06/21 11:15:07; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_read.c,v
Working file: dev_read.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this is the read file routine
—————————-
revision 1.2 locked by: root;
date: 2016/06/26 05:43:48; author: root; state: Exp; lines: +1 -1
this is read module file
—————————-
revision 1.1
date: 2016/06/24 11:41:30; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_trim.c,v
Working file: dev_trim.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is the function of trimming the file
—————————-
revision 1.1 locked by: root;
date: 2016/06/24 05:40:42; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_write.c,v
Working file: dev_write.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this is a write routine
—————————-
revision 1.2 locked by: root;
date: 2016/06/24 10:29:09; author: root; state: Exp; lines: +1 -1
declearing the type of write function
—————————-
revision 1.1
date: 2016/06/24 10:21:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: insert_drivr.c,v
Working file: insert_drivr.c
head: 1.18
branch:
locks: strict
root: 1.18
access list:
symbolic names:
keyword substitution: kv
total revisions: 18; selected revisions: 18
description:
this file is a file of inserting a driver in kernal,i.e the driver start from here
—————————-
revision 1.18 locked by: root;
date: 2016/06/26 06:25:43; author: root; state: Exp; lines: +1 -1
changing the value of arguement of MKDEV FUNCTION
—————————-
revision 1.17
date: 2016/06/26 06:22:30; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.16
date: 2016/06/26 06:19:07; author: root; state: Exp; lines: +1 -1
removing 1 error of semicolon
—————————-
revision 1.15
date: 2016/06/26 06:17:28; author: root; state: Exp; lines: +8 -6
in this i use to varible and increase the no. of nodes
—————————-
revision 1.14
date: 2016/06/24 06:05:02; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.13
date: 2016/06/24 05:50:12; author: root; state: Exp; lines: +3 -3
no such changes
—————————-
revision 1.12
date: 2016/06/23 09:03:18; author: root; state: Exp; lines: +4 -0
adding some of the functions which is defined in fs.h
—————————-
revision 1.11
date: 2016/06/23 08:24:24; author: root; state: Exp; lines: +0 -1
removed changes
—————————-
revision 1.10
date: 2016/06/23 04:49:38; author: root; state: Exp; lines: +2 -2
no such change
—————————-
revision 1.9
date: 2016/06/21 11:16:06; author: root; state: Exp; lines: +11 -1
in this no such change occur
—————————-
revision 1.8
date: 2016/06/18 11:26:07; author: root; state: Exp; lines: +5 -1
i decleared the cdev function and and file_operation structeure’s variable
—————————-
revision 1.7
date: 2016/06/18 07:52:02; author: root; state: Exp; lines: +3 -3
in this i initilise the dev veriable
—————————-
revision 1.6
date: 2016/06/18 05:40:48; author: root; state: Exp; lines: +10 -1
in this file i use to change the kmalloc()
—————————-
revision 1.5
date: 2016/06/17 07:38:13; author: root; state: Exp; lines: +1 -0
some of the changes done after getting error
—————————-
revision 1.4
date: 2016/06/17 07:01:53; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/17 06:59:33; author: root; state: Exp; lines: +5 -1
just adding a semicolon
—————————-
revision 1.2
date: 2016/06/17 06:50:27; author: root; state: Exp; lines: +7 -1
in this i register alloc_chrdev_region() function
which is use to register the driver
—————————-
revision 1.1
date: 2016/06/16 05:37:33; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: rm_drivr.c,v
Working file: rm_drivr.c
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
this file is for removing that driver from kernal module
—————————-
revision 1.8 locked by: root;
date: 2016/06/23 05:08:12; author: root; state: Exp; lines: +1 -1
changing the variable NOD to nod
—————————-
revision 1.7
date: 2016/06/21 11:17:17; author: root; state: Exp; lines: +3 -1
added some of func. i.e. kfree and also cdev_del
—————————-
revision 1.6
date: 2016/06/18 11:27:39; author: root; state: Exp; lines: +1 -0
no changw
—————————-
revision 1.5
date: 2016/06/18 07:52:32; author: root; state: Exp; lines: +1 -0
may be any change
—————————-
revision 1.4
date: 2016/06/18 05:41:18; author: root; state: Exp; lines: +1 -0
in this i use to initilise the kfree()
—————————-
revision 1.3
date: 2016/06/17 07:03:52; author: root; state: Exp; lines: +1 -1
in this file i use to add declaration.h file
—————————-
revision 1.2
date: 2016/06/17 06:52:37; author: root; state: Exp; lines: +1 -0
in this i use to unregister_chrdev_region() fun calling which is use to unregisterthe driver
—————————-
revision 1.1
date: 2016/06/16 05:38:39; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: declaration.h,v
Working file: declaration.h
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
in this there is a decleration of major no.
minorno.
and dev_id and also no. of nodes
—————————-
revision 1.9 locked by: root;
date: 2016/06/26 05:57:27; author: root; state: Exp; lines: +1 -1

—————————-
revision 1.8
date: 2016/06/24 11:46:22; author: root; state: Exp; lines: +1 -0
*** empty log message ***
—————————-
revision 1.7
date: 2016/06/24 10:22:03; author: root; state: Exp; lines: +1 -0
declearing the dev_write function
—————————-
revision 1.6
date: 2016/06/24 06:08:50; author: root; state: Exp; lines: +1 -1
added a semicolon
—————————-
revision 1.5
date: 2016/06/24 05:41:08; author: root; state: Exp; lines: +1 -0
in this i decleared the prototype of dev_trim
—————————-
revision 1.4
date: 2016/06/23 04:50:17; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/21 11:18:02; author: root; state: Exp; lines: +1 -0
some of the declaration i.e. open call func.
—————————-
revision 1.2
date: 2016/06/18 05:41:46; author: root; state: Exp; lines: +15 -1
in this i declare the dev and qset structure
—————————-
revision 1.1
date: 2016/06/17 06:54:11; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: file_operation.h,v
Working file: file_operation.h
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
this is a file operation file
—————————-
revision 1.9 locked by: root;
date: 2016/06/24 11:41:56; author: root; state: Exp; lines: +2 -1
added read file routine structure
—————————-
revision 1.8
date: 2016/06/24 10:26:13; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.7
date: 2016/06/24 10:24:19; author: root; state: Exp; lines: +1 -1
commenting the release call
—————————-
revision 1.6
date: 2016/06/24 10:22:34; author: root; state: Exp; lines: +3 -1
added the dev_write structure variable
—————————-
revision 1.5
date: 2016/06/24 06:05:08; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/23 04:50:54; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2016/06/23 04:06:10; author: root; state: Exp; lines: +1 -1
no change
—————————-
revision 1.2
date: 2016/06/21 11:18:38; author: root; state: Exp; lines: +4 -1
this is the open call routine structure
—————————-
revision 1.1
date: 2016/06/18 11:28:04; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: header.h,v
Working file: header.h
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
this is a header file for driver in which the driver’s header file is use to pull from user space
—————————-
revision 1.8 locked by: root;
date: 2016/06/23 10:28:39; author: root; state: Exp; lines: +1 -1
corrcting the name of header file
—————————-
revision 1.7
date: 2016/06/23 10:24:52; author: root; state: Exp; lines: +1 -0
in this i added the header file kernel.h
—————————-
revision 1.6
date: 2016/06/23 08:24:53; author: root; state: Exp; lines: +2 -3
no such change
—————————-
revision 1.5
date: 2016/06/23 04:50:58; author: root; state: Exp; lines: +3 -2
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/21 11:19:05; author: root; state: Exp; lines: +6 -0
some of the header files for chracter drivr
—————————-
revision 1.3
date: 2016/06/18 05:42:36; author: root; state: Exp; lines: +5 -1
in this i use to initilise no. of devices
—————————-
revision 1.2
date: 2016/06/17 06:55:29; author: root; state: Exp; lines: +14 -0
in this there is a macro of Device name major no minor no and no. od nodes
—————————-
revision 1.1
date: 2016/06/16 05:39:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: create_scull.c,v
Working file: create_scull.c
head: 1.19
branch:
locks: strict
root: 1.19
access list:
symbolic names:
keyword substitution: kv
total revisions: 19; selected revisions: 19
description:
this is a scull creating file
—————————-
revision 1.19 locked by: root;
date: 2016/06/28 11:53:42; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.18
date: 2016/06/28 11:52:39; author: root; state: Exp; lines: +1 -0
debugging
—————————-
revision 1.17
date: 2016/06/28 11:47:03; author: root; state: Exp; lines: +2 -1
debugging
—————————-
revision 1.16
date: 2016/06/28 11:43:48; author: root; state: Exp; lines: +7 -0
*** empty log message ***
—————————-
revision 1.15
date: 2016/06/28 11:38:49; author: root; state: Exp; lines: +3 -2
removing a error
—————————-
revision 1.14
date: 2016/06/28 11:09:33; author: root; state: Exp; lines: +2 -3
just changing the variable name
—————————-
revision 1.13
date: 2016/06/28 07:35:20; author: root; state: Exp; lines: +1 -1
removing one error of memset
—————————-
revision 1.12
date: 2016/06/28 07:34:22; author: root; state: Exp; lines: +1 -1
removed one error
—————————-
revision 1.11
date: 2016/06/28 07:33:22; author: root; state: Exp; lines: +1 -1
removing error
—————————-
revision 1.10
date: 2016/06/28 07:23:14; author: root; state: Exp; lines: +1 -1
only a error of semicolon which is use to remove by adding a semicolon
—————————-
revision 1.9
date: 2016/06/28 07:22:12; author: root; state: Exp; lines: +8 -3
in this i use to initilise the qset now
—————————-
revision 1.8
date: 2016/06/28 06:14:12; author: root; state: Exp; lines: +17 -4
in this i use to
—————————-
revision 1.7
date: 2016/06/27 12:21:20; author: root; state: Exp; lines: +1 -2
*** empty log message ***
—————————-
revision 1.6
date: 2016/06/27 12:19:50; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.5
date: 2016/06/27 12:17:27; author: root; state: Exp; lines: +1 -4
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/27 12:02:15; author: root; state: Exp; lines: +1 -2
no such change
—————————-
revision 1.3
date: 2016/06/27 12:00:39; author: root; state: Exp; lines: +4 -0
printing a error statement
—————————-
revision 1.2
date: 2016/06/27 11:55:14; author: root; state: Exp; lines: +1 -1
removing error
—————————-
revision 1.1
date: 2016/06/27 11:46:46; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_open.c,v
Working file: dev_open.c
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
this is a open call routine function
—————————-
revision 1.6 locked by: root;
date: 2016/06/28 06:15:30; author: root; state: Exp; lines: +3 -1
no such change
—————————-
revision 1.5
date: 2016/06/24 05:40:13; author: root; state: Exp; lines: +16 -1
in this i added i dev_trim function
—————————-
revision 1.4
date: 2016/06/23 10:24:20; author: root; state: Exp; lines: +3 -0
declaring the function of cointainer
—————————-
revision 1.3
date: 2016/06/23 08:24:02; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.2
date: 2016/06/23 04:49:15; author: root; state: Exp; lines: +1 -1
in this file no such change had been done
—————————-
revision 1.1
date: 2016/06/21 11:15:07; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_read.c,v
Working file: dev_read.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this is the read file routine
—————————-
revision 1.2 locked by: root;
date: 2016/06/26 05:43:48; author: root; state: Exp; lines: +1 -1
this is read module file
—————————-
revision 1.1
date: 2016/06/24 11:41:30; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_trim.c,v
Working file: dev_trim.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is the function of trimming the file
—————————-
revision 1.1 locked by: root;
date: 2016/06/24 05:40:42; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_write.c,v
Working file: dev_write.c
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
this is a write routine
—————————-
revision 1.4 locked by: root;
date: 2016/06/27 11:51:22; author: root; state: Exp; lines: +3 -3
edited the errors
—————————-
revision 1.3
date: 2016/06/27 11:47:05; author: root; state: Exp; lines: +17 -0
here calling of create_scull and another variables
—————————-
revision 1.2
date: 2016/06/24 10:29:09; author: root; state: Exp; lines: +1 -1
declearing the type of write function
—————————-
revision 1.1
date: 2016/06/24 10:21:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: insert_drivr.c,v
Working file: insert_drivr.c
head: 1.19
branch:
locks: strict
root: 1.19
access list:
symbolic names:
keyword substitution: kv
total revisions: 19; selected revisions: 19
description:
this file is a file of inserting a driver in kernal,i.e the driver start from here
—————————-
revision 1.19 locked by: root;
date: 2016/06/27 11:47:43; author: root; state: Exp; lines: +10 -10
*** empty log message ***
—————————-
revision 1.18
date: 2016/06/26 06:25:43; author: root; state: Exp; lines: +1 -1
changing the value of arguement of MKDEV FUNCTION
—————————-
revision 1.17
date: 2016/06/26 06:22:30; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.16
date: 2016/06/26 06:19:07; author: root; state: Exp; lines: +1 -1
removing 1 error of semicolon
—————————-
revision 1.15
date: 2016/06/26 06:17:28; author: root; state: Exp; lines: +8 -6
in this i use to varible and increase the no. of nodes
—————————-
revision 1.14
date: 2016/06/24 06:05:02; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.13
date: 2016/06/24 05:50:12; author: root; state: Exp; lines: +3 -3
no such changes
—————————-
revision 1.12
date: 2016/06/23 09:03:18; author: root; state: Exp; lines: +4 -0
adding some of the functions which is defined in fs.h
—————————-
revision 1.11
date: 2016/06/23 08:24:24; author: root; state: Exp; lines: +0 -1
removed changes
—————————-
revision 1.10
date: 2016/06/23 04:49:38; author: root; state: Exp; lines: +2 -2
no such change
—————————-
revision 1.9
date: 2016/06/21 11:16:06; author: root; state: Exp; lines: +11 -1
in this no such change occur
—————————-
revision 1.8
date: 2016/06/18 11:26:07; author: root; state: Exp; lines: +5 -1
i decleared the cdev function and and file_operation structeure’s variable
—————————-
revision 1.7
date: 2016/06/18 07:52:02; author: root; state: Exp; lines: +3 -3
in this i initilise the dev veriable
—————————-
revision 1.6
date: 2016/06/18 05:40:48; author: root; state: Exp; lines: +10 -1
in this file i use to change the kmalloc()
—————————-
revision 1.5
date: 2016/06/17 07:38:13; author: root; state: Exp; lines: +1 -0
some of the changes done after getting error
—————————-
revision 1.4
date: 2016/06/17 07:01:53; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/17 06:59:33; author: root; state: Exp; lines: +5 -1
just adding a semicolon
—————————-
revision 1.2
date: 2016/06/17 06:50:27; author: root; state: Exp; lines: +7 -1
in this i register alloc_chrdev_region() function
which is use to register the driver
—————————-
revision 1.1
date: 2016/06/16 05:37:33; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: rm_drivr.c,v
Working file: rm_drivr.c
head: 1.11
branch:
locks: strict
root: 1.11
access list:
symbolic names:
keyword substitution: kv
total revisions: 11; selected revisions: 11
description:
this file is for removing that driver from kernal module
—————————-
revision 1.11 locked by: root;
date: 2016/06/28 10:20:12; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.10
date: 2016/06/28 10:18:51; author: root; state: Exp; lines: +3 -1
defining the no. of dev element to deleted
—————————-
revision 1.9
date: 2016/06/27 11:47:48; author: root; state: Exp; lines: +1 -1
no change
,.
—————————-
revision 1.8
date: 2016/06/23 05:08:12; author: root; state: Exp; lines: +1 -1
changing the variable NOD to nod
—————————-
revision 1.7
date: 2016/06/21 11:17:17; author: root; state: Exp; lines: +3 -1
added some of func. i.e. kfree and also cdev_del
—————————-
revision 1.6
date: 2016/06/18 11:27:39; author: root; state: Exp; lines: +1 -0
no changw
—————————-
revision 1.5
date: 2016/06/18 07:52:32; author: root; state: Exp; lines: +1 -0
may be any change
—————————-
revision 1.4
date: 2016/06/18 05:41:18; author: root; state: Exp; lines: +1 -0
in this i use to initilise the kfree()
—————————-
revision 1.3
date: 2016/06/17 07:03:52; author: root; state: Exp; lines: +1 -1
in this file i use to add declaration.h file
—————————-
revision 1.2
date: 2016/06/17 06:52:37; author: root; state: Exp; lines: +1 -0
in this i use to unregister_chrdev_region() fun calling which is use to unregisterthe driver
—————————-
revision 1.1
date: 2016/06/16 05:38:39; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: declaration.h,v
Working file: declaration.h
head: 1.10
branch:
locks: strict
root: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10; selected revisions: 10
description:
in this there is a decleration of major no.
minorno.
and dev_id and also no. of nodes
—————————-
revision 1.10 locked by: root;
date: 2016/06/27 11:43:52; author: root; state: Exp; lines: +7 -5
declearation of quantumsize and qset
—————————-
revision 1.9
date: 2016/06/26 05:57:27; author: root; state: Exp; lines: +1 -1

—————————-
revision 1.8
date: 2016/06/24 11:46:22; author: root; state: Exp; lines: +1 -0
*** empty log message ***
—————————-
revision 1.7
date: 2016/06/24 10:22:03; author: root; state: Exp; lines: +1 -0
declearing the dev_write function
—————————-
revision 1.6
date: 2016/06/24 06:08:50; author: root; state: Exp; lines: +1 -1
added a semicolon
—————————-
revision 1.5
date: 2016/06/24 05:41:08; author: root; state: Exp; lines: +1 -0
in this i decleared the prototype of dev_trim
—————————-
revision 1.4
date: 2016/06/23 04:50:17; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/21 11:18:02; author: root; state: Exp; lines: +1 -0
some of the declaration i.e. open call func.
—————————-
revision 1.2
date: 2016/06/18 05:41:46; author: root; state: Exp; lines: +15 -1
in this i declare the dev and qset structure
—————————-
revision 1.1
date: 2016/06/17 06:54:11; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: file_operation.h,v
Working file: file_operation.h
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
this is a file operation file
—————————-
revision 1.9 locked by: root;
date: 2016/06/24 11:41:56; author: root; state: Exp; lines: +2 -1
added read file routine structure
—————————-
revision 1.8
date: 2016/06/24 10:26:13; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.7
date: 2016/06/24 10:24:19; author: root; state: Exp; lines: +1 -1
commenting the release call
—————————-
revision 1.6
date: 2016/06/24 10:22:34; author: root; state: Exp; lines: +3 -1
added the dev_write structure variable
—————————-
revision 1.5
date: 2016/06/24 06:05:08; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/23 04:50:54; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2016/06/23 04:06:10; author: root; state: Exp; lines: +1 -1
no change
—————————-
revision 1.2
date: 2016/06/21 11:18:38; author: root; state: Exp; lines: +4 -1
this is the open call routine structure
—————————-
revision 1.1
date: 2016/06/18 11:28:04; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: header.h,v
Working file: header.h
head: 1.10
branch:
locks: strict
root: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10; selected revisions: 10
description:
this is a header file for driver in which the driver’s header file is use to pull from user space
—————————-
revision 1.10 locked by: root;
date: 2016/06/27 11:55:46; author: root; state: Exp; lines: +1 -1
removing error
—————————-
revision 1.9
date: 2016/06/27 11:44:27; author: root; state: Exp; lines: +13 -0
Quantumsize and qsetsize macro decleared
—————————-
revision 1.8
date: 2016/06/23 10:28:39; author: root; state: Exp; lines: +1 -1
corrcting the name of header file
—————————-
revision 1.7
date: 2016/06/23 10:24:52; author: root; state: Exp; lines: +1 -0
in this i added the header file kernel.h
—————————-
revision 1.6
date: 2016/06/23 08:24:53; author: root; state: Exp; lines: +2 -3
no such change
—————————-
revision 1.5
date: 2016/06/23 04:50:58; author: root; state: Exp; lines: +3 -2
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/21 11:19:05; author: root; state: Exp; lines: +6 -0
some of the header files for chracter drivr
—————————-
revision 1.3
date: 2016/06/18 05:42:36; author: root; state: Exp; lines: +5 -1
in this i use to initilise no. of devices
—————————-
revision 1.2
date: 2016/06/17 06:55:29; author: root; state: Exp; lines: +14 -0
in this there is a macro of Device name major no minor no and no. od nodes
—————————-
revision 1.1
date: 2016/06/16 05:39:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: create_scull.c,v
Working file: create_scull.c
head: 1.56
branch:
locks: strict
root: 1.56
access list:
symbolic names:
keyword substitution: kv
total revisions: 56; selected revisions: 56
description:
this is a scull creating file
—————————-
revision 1.56 locked by: root;
date: 2016/07/06 07:16:15; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.55
date: 2016/07/06 07:13:45; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.54
date: 2016/07/05 11:41:42; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.53
date: 2016/07/05 11:36:38; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.52
date: 2016/07/05 11:36:00; author: root; state: Exp; lines: +2 -1
*** empty log message ***
—————————-
revision 1.51
date: 2016/07/05 11:30:00; author: root; state: Exp; lines: +5 -3
*** empty log message ***
—————————-
revision 1.50
date: 2016/07/05 11:23:14; author: root; state: Exp; lines: +9 -7
debugging
—————————-
revision 1.49
date: 2016/07/05 11:14:54; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.48
date: 2016/07/05 11:12:46; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.47
date: 2016/07/05 10:47:28; author: root; state: Exp; lines: +2 -2
this is the file after debugging.
—————————-
revision 1.46
date: 2016/07/05 08:23:16; author: root; state: Exp; lines: +1 -0
debugging
—————————-
revision 1.45
date: 2016/07/05 08:21:21; author: root; state: Exp; lines: +2 -2
debugging
—————————-
revision 1.44
date: 2016/07/05 07:54:03; author: root; state: Exp; lines: +2 -4
debugging
—————————-
revision 1.43
date: 2016/07/05 07:01:35; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.42
date: 2016/07/05 06:58:36; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.41
date: 2016/07/05 06:57:10; author: root; state: Exp; lines: +4 -1
debugging
—————————-
revision 1.40
date: 2016/07/05 06:53:16; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.39
date: 2016/07/05 06:52:35; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.38
date: 2016/07/05 06:29:38; author: root; state: Exp; lines: +4 -3
changing the value of to which it pointing
—————————-
revision 1.37
date: 2016/07/04 23:18:31; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.36
date: 2016/07/04 23:16:11; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.35
date: 2016/07/04 23:13:34; author: root; state: Exp; lines: +3 -5
*** empty log message ***
—————————-
revision 1.34
date: 2016/07/04 23:10:02; author: root; state: Exp; lines: +4 -3
printing a statement for debugging
—————————-
revision 1.33
date: 2016/07/04 23:01:33; author: root; state: Exp; lines: +1 -0
no such change
—————————-
revision 1.32
date: 2016/07/04 22:41:35; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.31
date: 2016/07/04 22:21:46; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.30
date: 2016/07/04 22:15:55; author: root; state: Exp; lines: +22 -22
no such change .
—————————-
revision 1.29
date: 2016/06/30 11:13:12; author: root; state: Exp; lines: +2 -2
debugging
—————————-
revision 1.28
date: 2016/06/30 11:04:22; author: root; state: Exp; lines: +3 -1
printing the addresses
—————————-
revision 1.27
date: 2016/06/30 10:47:14; author: root; state: Exp; lines: +28 -4
added a memory segment for quantum.
—————————-
revision 1.26
date: 2016/06/30 09:19:10; author: root; state: Exp; lines: +3 -2
checking the value of first and last pointer
—————————-
revision 1.25
date: 2016/06/30 09:02:19; author: root; state: Exp; lines: +3 -3
removing or debugging
—————————-
revision 1.24
date: 2016/06/30 08:54:33; author: root; state: Exp; lines: +1 -1
debugging
—————————-
revision 1.23
date: 2016/06/30 08:49:27; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.22
date: 2016/06/30 08:06:13; author: root; state: Exp; lines: +3 -4
edited the commant
—————————-
revision 1.21
date: 2016/06/30 07:28:48; author: root; state: Exp; lines: +2 -2
printing noqs for error
—————————-
revision 1.20
date: 2016/06/30 03:59:13; author: root; state: Exp; lines: +4 -3
Debugging
—————————-
revision 1.19
date: 2016/06/28 11:53:42; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.18
date: 2016/06/28 11:52:39; author: root; state: Exp; lines: +1 -0
debugging
—————————-
revision 1.17
date: 2016/06/28 11:47:03; author: root; state: Exp; lines: +2 -1
debugging
—————————-
revision 1.16
date: 2016/06/28 11:43:48; author: root; state: Exp; lines: +7 -0
*** empty log message ***
—————————-
revision 1.15
date: 2016/06/28 11:38:49; author: root; state: Exp; lines: +3 -2
removing a error
—————————-
revision 1.14
date: 2016/06/28 11:09:33; author: root; state: Exp; lines: +2 -3
just changing the variable name
—————————-
revision 1.13
date: 2016/06/28 07:35:20; author: root; state: Exp; lines: +1 -1
removing one error of memset
—————————-
revision 1.12
date: 2016/06/28 07:34:22; author: root; state: Exp; lines: +1 -1
removed one error
—————————-
revision 1.11
date: 2016/06/28 07:33:22; author: root; state: Exp; lines: +1 -1
removing error
—————————-
revision 1.10
date: 2016/06/28 07:23:14; author: root; state: Exp; lines: +1 -1
only a error of semicolon which is use to remove by adding a semicolon
—————————-
revision 1.9
date: 2016/06/28 07:22:12; author: root; state: Exp; lines: +8 -3
in this i use to initilise the qset now
—————————-
revision 1.8
date: 2016/06/28 06:14:12; author: root; state: Exp; lines: +17 -4
in this i use to
—————————-
revision 1.7
date: 2016/06/27 12:21:20; author: root; state: Exp; lines: +1 -2
*** empty log message ***
—————————-
revision 1.6
date: 2016/06/27 12:19:50; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.5
date: 2016/06/27 12:17:27; author: root; state: Exp; lines: +1 -4
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/27 12:02:15; author: root; state: Exp; lines: +1 -2
no such change
—————————-
revision 1.3
date: 2016/06/27 12:00:39; author: root; state: Exp; lines: +4 -0
printing a error statement
—————————-
revision 1.2
date: 2016/06/27 11:55:14; author: root; state: Exp; lines: +1 -1
removing error
—————————-
revision 1.1
date: 2016/06/27 11:46:46; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_open.c,v
Working file: dev_open.c
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
this is a open call routine function
—————————-
revision 1.6 locked by: root;
date: 2016/06/28 06:15:30; author: root; state: Exp; lines: +3 -1
no such change
—————————-
revision 1.5
date: 2016/06/24 05:40:13; author: root; state: Exp; lines: +16 -1
in this i added i dev_trim function
—————————-
revision 1.4
date: 2016/06/23 10:24:20; author: root; state: Exp; lines: +3 -0
declaring the function of cointainer
—————————-
revision 1.3
date: 2016/06/23 08:24:02; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.2
date: 2016/06/23 04:49:15; author: root; state: Exp; lines: +1 -1
in this file no such change had been done
—————————-
revision 1.1
date: 2016/06/21 11:15:07; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_read.c,v
Working file: dev_read.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this is the read file routine
—————————-
revision 1.2 locked by: root;
date: 2016/06/26 05:43:48; author: root; state: Exp; lines: +1 -1
this is read module file
—————————-
revision 1.1
date: 2016/06/24 11:41:30; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_trim.c,v
Working file: dev_trim.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is the function of trimming the file
—————————-
revision 1.1 locked by: root;
date: 2016/06/24 05:40:42; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: dev_write.c,v
Working file: dev_write.c
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
this is a write routine
—————————-
revision 1.8 locked by: root;
date: 2016/07/05 11:08:44; author: root; state: Exp; lines: +7 -6
removing the error .
—————————-
revision 1.7
date: 2016/07/05 10:48:05; author: root; state: Exp; lines: +22 -2
in this a copy_from_user function is decleared
—————————-
revision 1.6
date: 2016/07/04 20:47:30; author: root; state: Exp; lines: +1 -1
recorrecting the error
—————————-
revision 1.5
date: 2016/07/04 20:45:17; author: root; state: Exp; lines: +1 -1
returning the required bytes
—————————-
revision 1.4
date: 2016/06/27 11:51:22; author: root; state: Exp; lines: +3 -3
edited the errors
—————————-
revision 1.3
date: 2016/06/27 11:47:05; author: root; state: Exp; lines: +17 -0
here calling of create_scull and another variables
—————————-
revision 1.2
date: 2016/06/24 10:29:09; author: root; state: Exp; lines: +1 -1
declearing the type of write function
—————————-
revision 1.1
date: 2016/06/24 10:21:49; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: insert_drivr.c,v
Working file: insert_drivr.c
head: 1.19
branch:
locks: strict
root: 1.19
access list:
symbolic names:
keyword substitution: kv
total revisions: 19; selected revisions: 19
description:
this file is a file of inserting a driver in kernal,i.e the driver start from here
—————————-
revision 1.19 locked by: root;
date: 2016/06/27 11:47:43; author: root; state: Exp; lines: +10 -10
*** empty log message ***
—————————-
revision 1.18
date: 2016/06/26 06:25:43; author: root; state: Exp; lines: +1 -1
changing the value of arguement of MKDEV FUNCTION
—————————-
revision 1.17
date: 2016/06/26 06:22:30; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.16
date: 2016/06/26 06:19:07; author: root; state: Exp; lines: +1 -1
removing 1 error of semicolon
—————————-
revision 1.15
date: 2016/06/26 06:17:28; author: root; state: Exp; lines: +8 -6
in this i use to varible and increase the no. of nodes
—————————-
revision 1.14
date: 2016/06/24 06:05:02; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.13
date: 2016/06/24 05:50:12; author: root; state: Exp; lines: +3 -3
no such changes
—————————-
revision 1.12
date: 2016/06/23 09:03:18; author: root; state: Exp; lines: +4 -0
adding some of the functions which is defined in fs.h
—————————-
revision 1.11
date: 2016/06/23 08:24:24; author: root; state: Exp; lines: +0 -1
removed changes
—————————-
revision 1.10
date: 2016/06/23 04:49:38; author: root; state: Exp; lines: +2 -2
no such change
—————————-
revision 1.9
date: 2016/06/21 11:16:06; author: root; state: Exp; lines: +11 -1
in this no such change occur
—————————-
revision 1.8
date: 2016/06/18 11:26:07; author: root; state: Exp; lines: +5 -1
i decleared the cdev function and and file_operation structeure’s variable
—————————-
revision 1.7
date: 2016/06/18 07:52:02; author: root; state: Exp; lines: +3 -3
in this i initilise the dev veriable
—————————-
revision 1.6
date: 2016/06/18 05:40:48; author: root; state: Exp; lines: +10 -1
in this file i use to change the kmalloc()
—————————-
revision 1.5
date: 2016/06/17 07:38:13; author: root; state: Exp; lines: +1 -0
some of the changes done after getting error
—————————-
revision 1.4
date: 2016/06/17 07:01:53; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/17 06:59:33; author: root; state: Exp; lines: +5 -1
just adding a semicolon
—————————-
revision 1.2
date: 2016/06/17 06:50:27; author: root; state: Exp; lines: +7 -1
in this i register alloc_chrdev_region() function
which is use to register the driver
—————————-
revision 1.1
date: 2016/06/16 05:37:33; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: rm_drivr.c,v
Working file: rm_drivr.c
head: 1.11
branch:
locks: strict
root: 1.11
access list:
symbolic names:
keyword substitution: kv
total revisions: 11; selected revisions: 11
description:
this file is for removing that driver from kernal module
—————————-
revision 1.11 locked by: root;
date: 2016/06/28 10:20:12; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.10
date: 2016/06/28 10:18:51; author: root; state: Exp; lines: +3 -1
defining the no. of dev element to deleted
—————————-
revision 1.9
date: 2016/06/27 11:47:48; author: root; state: Exp; lines: +1 -1
no change
,.
—————————-
revision 1.8
date: 2016/06/23 05:08:12; author: root; state: Exp; lines: +1 -1
changing the variable NOD to nod
—————————-
revision 1.7
date: 2016/06/21 11:17:17; author: root; state: Exp; lines: +3 -1
added some of func. i.e. kfree and also cdev_del
—————————-
revision 1.6
date: 2016/06/18 11:27:39; author: root; state: Exp; lines: +1 -0
no changw
—————————-
revision 1.5
date: 2016/06/18 07:52:32; author: root; state: Exp; lines: +1 -0
may be any change
—————————-
revision 1.4
date: 2016/06/18 05:41:18; author: root; state: Exp; lines: +1 -0
in this i use to initilise the kfree()
—————————-
revision 1.3
date: 2016/06/17 07:03:52; author: root; state: Exp; lines: +1 -1
in this file i use to add declaration.h file
—————————-
revision 1.2
date: 2016/06/17 06:52:37; author: root; state: Exp; lines: +1 -0
in this i use to unregister_chrdev_region() fun calling which is use to unregisterthe driver
—————————-
revision 1.1
date: 2016/06/16 05:38:39; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: declaration.h,v
Working file: declaration.h
head: 1.12
branch:
locks: strict
root: 1.12
access list:
symbolic names:
keyword substitution: kv
total revisions: 12; selected revisions: 12
description:
in this there is a decleration of major no.
minorno.
and dev_id and also no. of nodes
—————————-
revision 1.12 locked by: root;
date: 2016/07/05 11:09:21; author: root; state: Exp; lines: +1 -1
no change
—————————-
revision 1.11
date: 2016/07/05 10:48:36; author: root; state: Exp; lines: +3 -1
decleration of datasize and devicesize
—————————-
revision 1.10
date: 2016/06/27 11:43:52; author: root; state: Exp; lines: +7 -5
declearation of quantumsize and qset
—————————-
revision 1.9
date: 2016/06/26 05:57:27; author: root; state: Exp; lines: +1 -1

—————————-
revision 1.8
date: 2016/06/24 11:46:22; author: root; state: Exp; lines: +1 -0
*** empty log message ***
—————————-
revision 1.7
date: 2016/06/24 10:22:03; author: root; state: Exp; lines: +1 -0
declearing the dev_write function
—————————-
revision 1.6
date: 2016/06/24 06:08:50; author: root; state: Exp; lines: +1 -1
added a semicolon
—————————-
revision 1.5
date: 2016/06/24 05:41:08; author: root; state: Exp; lines: +1 -0
in this i decleared the prototype of dev_trim
—————————-
revision 1.4
date: 2016/06/23 04:50:17; author: root; state: Exp; lines: +1 -1
no such change
—————————-
revision 1.3
date: 2016/06/21 11:18:02; author: root; state: Exp; lines: +1 -0
some of the declaration i.e. open call func.
—————————-
revision 1.2
date: 2016/06/18 05:41:46; author: root; state: Exp; lines: +15 -1
in this i declare the dev and qset structure
—————————-
revision 1.1
date: 2016/06/17 06:54:11; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: file_operation.h,v
Working file: file_operation.h
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
this is a file operation file
—————————-
revision 1.9 locked by: root;
date: 2016/06/24 11:41:56; author: root; state: Exp; lines: +2 -1
added read file routine structure
—————————-
revision 1.8
date: 2016/06/24 10:26:13; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.7
date: 2016/06/24 10:24:19; author: root; state: Exp; lines: +1 -1
commenting the release call
—————————-
revision 1.6
date: 2016/06/24 10:22:34; author: root; state: Exp; lines: +3 -1
added the dev_write structure variable
—————————-
revision 1.5
date: 2016/06/24 06:05:08; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/23 04:50:54; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2016/06/23 04:06:10; author: root; state: Exp; lines: +1 -1
no change
—————————-
revision 1.2
date: 2016/06/21 11:18:38; author: root; state: Exp; lines: +4 -1
this is the open call routine structure
—————————-
revision 1.1
date: 2016/06/18 11:28:04; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: header.h,v
Working file: header.h
head: 1.13
branch:
locks: strict
root: 1.13
access list:
symbolic names:
keyword substitution: kv
total revisions: 13; selected revisions: 13
description:
this is a header file for driver in which the driver’s header file is use to pull from user space
—————————-
revision 1.13 locked by: root;
date: 2016/07/05 10:49:00; author: root; state: Exp; lines: +9 -0
macro devicesize and datasize
—————————-
revision 1.12
date: 2016/06/30 10:47:38; author: root; state: Exp; lines: +1 -1
making the size of qset 8.
—————————-
revision 1.11
date: 2016/06/30 09:06:19; author: root; state: Exp; lines: +1 -1
decreasing qsetsize value
—————————-
revision 1.10
date: 2016/06/27 11:55:46; author: root; state: Exp; lines: +1 -1
removing error
—————————-
revision 1.9
date: 2016/06/27 11:44:27; author: root; state: Exp; lines: +13 -0
Quantumsize and qsetsize macro decleared
—————————-
revision 1.8
date: 2016/06/23 10:28:39; author: root; state: Exp; lines: +1 -1
corrcting the name of header file
—————————-
revision 1.7
date: 2016/06/23 10:24:52; author: root; state: Exp; lines: +1 -0
in this i added the header file kernel.h
—————————-
revision 1.6
date: 2016/06/23 08:24:53; author: root; state: Exp; lines: +2 -3
no such change
—————————-
revision 1.5
date: 2016/06/23 04:50:58; author: root; state: Exp; lines: +3 -2
*** empty log message ***
—————————-
revision 1.4
date: 2016/06/21 11:19:05; author: root; state: Exp; lines: +6 -0
some of the header files for chracter drivr
—————————-
revision 1.3
date: 2016/06/18 05:42:36; author: root; state: Exp; lines: +5 -1
in this i use to initilise no. of devices
—————————-
revision 1.2
date: 2016/06/17 06:55:29; author: root; state: Exp; lines: +14 -0
in this there is a macro of Device name major no minor no and no. od nodes
—————————-
revision 1.1
date: 2016/06/16 05:39:49; author: root; state: Exp;
Initial revision
=============================================================================

Posted in Character Driver | Leave a comment

How to install vlc media player in fedora 20

In fedora you find a bug of gpgcheck but here is a solution of it
go to your terminal and become super user using
[root@localhost ~]# su –
now you have type following commands
link no.1:-
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
link no.2:-yum install –nogpgcheck vlc
link no.3:-yum install –nogpgcheck gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly
now go to the search option for your fedora apps and search for vlc media player,hope you had that

Posted in Uncategorized | Leave a comment