EmbLogic's Blog

Author Archives: amit.dalal

memory management concept

Memory Management The memory management subsystem is one of the most important parts of the operating system. Since the early days of computing, there has been a need for more memory than exists physically in a system. Strategies have been … Continue reading

Posted in Linux Internals and System Programming | Leave a comment

static and shared libraries

When a C program is compiled, the compiler generates object code. After generating the object code, the compiler also invokes linker. One of the main tasks for linker is to make code of library functions (eg printf(), scanf(), sqrt(), ..etc) … Continue reading

Posted in Linux Internals and System Programming, Project 00: Linux System / Network Administration | Leave a comment

swapping variable different method

How to swap two numbers without using a temporary variable? Given two variables, x and y, swap two variables without using a third variable. Method 1 (Using Arithmetic Operators) The idea is to get sum in one of the two … Continue reading

Posted in Uncategorized | Leave a comment

Pointer->>>>>>>>>>>>>>

Introduction:->Pointer   A pointer is a variable that contains the address of a variable. Pointers are much used in C, partly because they are sometimes the only way to express a computation, and partly because they usually lead to more … Continue reading

Posted in Uncategorized | Leave a comment

c assignment

working on searching ,sorting and also on string..

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

character driver

i have done timer with wait_event_interruptible successfully……

Posted in Character Driver | Tagged , | Leave a comment

c assignment

Completed 4 assignment

Posted in Uncategorized | Leave a comment

CHARACTER DRIVER LOGFILE

RCS file: app11.c,v Working file: app11.c head: 1.2 branch: locks: strict amitdalal: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: define set_sem_val function define semaphore_p and semaphore_v done this for all 5 applicatin … Continue reading

Posted in Character Driver | Tagged | Leave a comment

CHARACTER DRIVER

successfully done proc implimentation….. RCS file: amit.c,v Working file: amit.c head: 1.20 branch: locks: strict amitdalal: 1.20 access list: symbolic names: keyword substitution: kv total revisions: 20; selected revisions: 20 description: added function of copy from user printk the no … Continue reading

Posted in Character Driver | Tagged | Leave a comment

CHARACTER DEVICE DRIVER

i have successfully implimented the semaphore in kernel level and complition in kernel level RCS file: app11.c,v Working file: app11.c head: 1.1 branch: locks: strict amitdalal: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

CHARACTER DRIVER

i have successfully implimented the mutex with in the 1 application and semaphore with in the thread for 4 application and done semaphore within the kernel level it is suceesssfully running RCS file: app11.c,v Working file: app11.c head: 1.1 branch: … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

CHARACTER DEVICE DRIVER

i have implimented the read write close open for 5 application in multithread using semaphore successfully.now i am going to do trim function………………………..   RCS file: app.c,v Working file: app.c head: 1.9 branch: locks: strict amitdalal: 1.9 access list: symbolic … Continue reading

Posted in Character Driver, Uncategorized | Tagged | Leave a comment

CHARACTER DEVICE DRIVER(ARTICLE)

ARTICLE ON CHARACTER DRIVER I have been working on character device driver since last two to three weeks and here I am giving you the concept and idea I am using in character driver till now. Let us start with … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

DEVICE DRIVER

MULTI THREAD(open,write,read,close) amit.c RCS file: amit.c,v Working file: amit.c head: 1.13 branch: locks: strict amitdalal: 1.13 access list: symbolic names: keyword substitution: kv total revisions: 13; selected revisions: 13 description: added function of copy from user printk the no of … Continue reading

Posted in Character Driver, Uncategorized | Tagged | Leave a comment

CHARACTER DRIVER

i have done llseek successffully for write and read and now back to assignment sir gave us… rcs file amit.c RCS file: amit.c,v Working file: amit.c head: 1.13 branch: locks: strict amitdalal: 1.13 access list: symbolic names: keyword substitution: kv … Continue reading

Posted in Uncategorized | Tagged | Leave a comment