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
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
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
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
working on searching ,sorting and also on string..
i have done timer with wait_event_interruptible successfully……
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
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
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
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
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
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
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
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