EmbLogic's Blog

Author Archives: gurpal.singh

Shell ,Terminal and Console

SHELL :-> “Shell” is the term used for any program which runs others. It wraps around another program .As the name suggest “Shell” the outer covering .for example in windows(OS) windows explorer is shell.In unix circles, shell has specialized to … Continue reading

Posted in Uncategorized | Leave a comment

PARALLEL PORT

what is parallel port? A connector for a device  that send and recieve several bits of data simultaneously. three modes for parallel communication:- 1)compatible mode   2)nibble mode    3)byte mode 1) personal computers today are equipped with a parallel … Continue reading

Posted in Uncategorized | Leave a comment

CHARACTER DRIVER

The file_operations Structure The file_operations structure is defined in linux/fs.h, and holds pointers to functions defined by the driver that perform various operations on the device. Each field of the structure corresponds to the address of some function defined by … Continue reading

Posted in Uncategorized | Leave a comment

KERNEL SYMBOL TABLE

In programming language, a symbol is either a variable or a function. Or more generally, we can say, a symbol is a name representing an space in the memory, which stores data (variable, for reading and writing) or instructions (function, … Continue reading

Posted in Uncategorized | Leave a comment

head    1.4; access; symbols; locks root:1.4; strict; comment @ * @; 1.4 date    2014.01.09.16.52.25;    author root;    state Exp; branches; next    1.3; 1.3 date    2014.01.06.17.48.18;    author root;    state Exp; branches; next    1.2; 1.2 date    2014.01.06.16.35.38;    author root;    state Exp; branches; next    … Continue reading

Posted in Uncategorized | Leave a comment

ALLOCATION AND DEALLOCATION OF SCULLDEV STRUCTURE IN DRIVERS

head    1.2; access; symbols; locks; strict; comment @ * @; 1.2 date    2014.01.06.16.46.49;    author root;    state Exp; branches; next    1.1; 1.1 date    2014.01.06.15.17.49;    author root;    state Exp; branches; next    ; desc @Device driver unregistered using unregister_chrdev_region @ 1.2 log @dealloction … Continue reading

Posted in Uncategorized | Leave a comment

DEVICE DRIVER REGISTRATION/UNREGISTRATION (ALLOC/UNREGISTER)

INITIALIZATION  LOG FILE head    1.1; access; symbols; locks root:1.1; strict; comment @ * @; 1.1 date    2014.01.06.15.15.50;    author root;    state Exp; branches; next    ; desc @Device Driver registration using alloc_chrdev_region @ 1.1 log @Initial revision @ CLEAN-UP LOG FILE … Continue reading

Posted in Uncategorized | Leave a comment

socket(client-server)

head 2.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2013.12.30.11.56.58; author root; state Exp; branches; next ; desc @program is ready @ 1.1 log @Initial revision @ text head ; access; symbols; locks; strict; comment @ * … Continue reading

Posted in Uncategorized | Leave a comment

Implementing client server using threads

requesting client log file- head    ; access; symbols; locks; strict; comment    @ * @; desc @this is requesting client and it is taking result through result fifo created by itself @ server log file: head    ; access; symbols; locks; strict; … Continue reading

Posted in Uncategorized | Leave a comment

PIPES

Piping is a process where the output of one process is made the input of another.In numerous applications there is clearly a need for these processes to communicate with each exchanging data or control information. Pipes can be used in threads and processes. A … Continue reading

Posted in Uncategorized | Leave a comment

MULTIPLE DATA COMPRESSION

Multiple Data compresion is technique to compress more than 50 percent of the data,by using iteration methods in C language. before compession and decompession there are certain function we have to perform;- MASTER ARRAY Array is the collection of elements … Continue reading

Posted in Uncategorized | Leave a comment