EmbLogic's Blog

Author Archives: Nishant

Memory-Mapped I/O v/s Port-Mapped I/O

Memory-mapped I/O (MMIO) and port-mapped I/O (PMIO) (which is also called isolated I/O) are two complementary methods of performing input/output between the CPU and peripheral devices in a computer. An alternative approach is using dedicated I/O processors—commonly known as channels … Continue reading

Posted in Parallel Port Driver | Leave a comment

Multitasking and Process Management

Any application that runs on a Linux system is assigned a process ID or PID. This is a numerical representation of the instance of the application on the system. It is used by the system administrator who may have to … Continue reading

Posted in Uncategorized | Leave a comment

Introduction to Character Device Drivers and Kernel Symbol Table

Character Device Drivers:- Character special files or character devices relate to devices through which the system transmits data one character at a time by, for example, getchar. These device nodes often serve for stream communication with devices such as mice, … Continue reading

Posted in Uncategorized | Leave a comment

Character Device Driver

Implemented the following: 1.Set-up Scull for multiple devices. 2.Export a self made function to symbol table of kernel, and use the function in some other file. Log file for init.c: head    1.4; access; symbols; locks root:1.4; strict; comment    @ * … Continue reading

Posted in Uncategorized | Leave a comment

Character Device Drivers.

Implemented the following: 1.Register the driver by using the new mechanism, allocate the memory and initialise and add the cdev to device table. 2.After registration, allocation, and adding the cdev to device table, delete the cdev form device table, deallocate … Continue reading

Posted in Uncategorized | Leave a comment

Character Driver.

Implemented the insertion and registration of basic device driver. Log file for initialization: head    1.2; access; symbols; locks root:1.2; strict; comment    @ * @; 1.2 date    2014.01.04.16.35.51;    author root;    state Exp; branches; next    1.1; 1.1 date    2014.01.04.16.04.11;    author root;    state … Continue reading

Posted in Uncategorized | Leave a comment

FTP, client-server by socket.

Client-server using socket(AF_INET) implemented. Also FTP, client-server netwroking based project implemented successfully. Log file for server: head    1.2; access; symbols; locks root:1.2; strict; comment    @ * @; 1.2 date    2013.12.30.10.38.40;    author root;    state Exp; branches; next    1.1; 1.1 date    2013.12.30.10.35.58;    … Continue reading

Posted in Uncategorized | Leave a comment

Socket client server.

Implemented socket client server program for AN_UNIX domain. Log file for server: head    1.2; access; symbols; locks root:1.2; strict; comment    @ * @; 1.2 date    2013.12.29.08.15.37;    author root;    state Exp; branches; next    1.1; 1.1 date    2013.12.29.08.12.40;    author root;    state Exp; … Continue reading

Posted in Uncategorized | Leave a comment

Threads in IPC.

Implemented the threads in Inter Process Communication. Individual thread create for each requesting client in server. Log file for server: head    1.2; access; symbols; locks root:1.2; strict; comment    @ * @; 1.2 date    2013.12.28.11.57.21;    author root;    state Exp; branches; next   … Continue reading

Posted in Uncategorized | Leave a comment

IPC based project

Implemented client server Inter process communication using shared memory.

Posted in Uncategorized | Leave a comment

IPC using mesaage queues.

Implemented the Inter process communication using message queues and the project is completed for 3 requesting and 3 processing clients. Log file of Server: head    1.2; access; symbols; locks root:1.2; strict; comment    @ * @; 1.2 date    2013.12.24.10.09.27;    author root;   … Continue reading

Posted in Uncategorized | Leave a comment

Client Server setup using Pipes….

For making a client server set up, you need to know how a child process create by parent process. A parent process makes a child process by using fork() system call. Fork (system call):- fork is an operation whereby a … Continue reading

Posted in Uncategorized | Leave a comment

C Programming

A C programming based Project C language is the general purpose programming language developed by Dennis Ritchie. C language is the base of many other languages like C#, Java, Python, Perl, PHP. C has facilities like structure programming, functional programming. … Continue reading

Posted in Uncategorized | Leave a comment

Article on C programming based Project

A C programming based Project C language is the general purpose programming language developed by Dennis Ritchie. C language is the base of many other languages like C#, Java, Python, Perl, PHP. C has facilities like structure programming, functional programming. … Continue reading

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

Batch : 20.02.39 : Assignment Status

Posted in Uncategorized | Leave a comment