EmbLogic's Blog

Author Archives: Rahul Sharma

PARALLEL PORT -8 led array

Succesfully implemented the parallel port outb operations using 8-led array!!! I had firstly make a sculldev allocate memory to it so that i can map the file_operations through the cdev_init and cdev_add operations and then map the parallel port address … Continue reading

Posted in Parallel Port Driver | Leave a comment

implemented ioctl :change quantum and qset using operation

RCS file: ./ioctl.c,v Working file: ./ioctl.c head: 1.23 branch: locks: strict root: 1.23 access list: symbolic names: keyword substitution: kv total revisions: 23; selected revisions: 23 description: this is our ioctl.c file for driver operations —————————- revision 1.23 locked by: … Continue reading

Posted in Character Driver | Leave a comment

server-client using threads in server(using aprox all IPC techniques

RCS file: ./server.c,v Working file: ./server.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 the server accepting data —————————- revision 1.5 locked by: root; date: … Continue reading

Posted in Project 04: FTP based Client Server using Threads and Sockets | Leave a comment

implemented :completion synchronization technique

RCS file: ./write.c,v 3 Working file: ./write.c 4 head: 1.163 5 branch: 6 locks: strict 7 root: 1.163 8 access list: 9 symbolic names: 10 keyword substitution: kv 11 total revisions: 163; selected revisions: 163 12 description: 13 this is … Continue reading

Posted in Character Driver, Device Drivers | Leave a comment

character driver-seek_SET,SEEK_CUR and SEEK_END working fine for reading

RCS file: ./read2.c,v Working file: ./read2.c head: 1.40 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 40; selected revisions: 40 description: this is working fine with lseek —————————- revision 1.40 date: 2014/05/27 17:52:40; author: root; state: … Continue reading

Posted in Character Driver | Leave a comment

Character driver -lseek operation

ranch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 19; selected revisions: 19 description: this is working fine with lseek —————————- revision 1.19 date: 2014/05/26 18:30:46; author: root; state: Exp; lines: +1 -0 working successfully for read … Continue reading

Posted in Character Driver | Leave a comment

Character driver-sucessfully working for min 32 distinct user

The code is working fine for 32 distinct user acessing 2 nodes node0 and node1 ie, 32 user can acess this driver at a time without reporting a bug. there are 2 operation that i perform for each application 1.write … Continue reading

Posted in Character Driver | Leave a comment

FORK() call–kernal point of view

when the fork system call is invoked the fork is mappped with the clone system call . the kernel stores the list of processes in circular doubly link list called task list each element in the task_list is a process … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

CHARACTER Driver :entered data in multiple scullqsets ,qsets and quantums

RCS file: write.c,v Working file: write.c head: 1.81 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 81; selected revisions: 81 description: this is the file for user write like operation —————————- revision 1.81 date: 2014/05/16 12:53:09; … Continue reading

Posted in Character Driver | Leave a comment

Walkie-talkie chatting operation using message queue in two different process

RCS file: mesg1.c,v Working file: mesg1.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: IN this program work as the walkie talkie half duplex mode…. There are … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Implemented message queue for 1 child-parent process

RCS file: ./practice.c,v Working file: ./practice.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: initial version of file in this we have used fork child send 2 … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Implemented semaphore for 3 clients and sending result to respective client from server

RCS file: ./semaphore.c,v Working file: ./semaphore.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 the intial file going to start the SEMAPHORE —————————- revision 1.6    … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

MULTIPLE DATA COMPRESSION 3-bit (2 key encryption)

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: in this file i had compressed the data of 3 bit codelength ie max 8 distinct … Continue reading

Posted in Project 2: Multiple Data Compression and Encryption | Leave a comment

Implemented Queues-push,pop,display,delete

RCS file: queues.c,v Working file: queues.c head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2;     selected revisions: 2 description: this is the initial version ,here i have completed the push function operation by passing … Continue reading

Posted in Data Structures with C | Leave a comment

multiple data compression-decompression 4-bit

RCS file: ./mdcaeuit.c,v Working file: ./mdcaeuit.c head: 1.17 branch: locks: strict root: 1.17 access list: logins symbolic names: keyword substitution: kv total revisions: 17;    selected revisions: 17 description: this is the initiated source file have to make ammendment —————————- revision … Continue reading

Posted in Project 2: Multiple Data Compression and Encryption | Leave a comment