EmbLogic's Blog

Author Archives: manoj7410

Implementation of Nibble mode and Byte mode

Both the modes have been implemented without nstrobe.  

Posted in Uncategorized | Leave a comment

What exectly this line says…??

Being Asynchronous with other code….

Posted in Uncategorized | 1 Comment

To Mr. Deepak.

Sir, Please tell a way to improve my vocublery?

Posted in Uncategorized | Leave a comment

Parallel Port Implemented in compatibility mode.

Working fine with more than 1 lkm. Able to write data on device from scull.

Posted in Uncategorized | Leave a comment

Project Status.

Working fine for singal Writer(Machine 1), Singal Reader(Machine 2), open/close file(Machine 3), and server(Machine 4). using sockets for IPC.

Posted in Character Driver, Uncategorized | Leave a comment

read_proc is being involked multiple times…why..??

Sir, if there is nothing to return or 0 to return from a read_proc function, then it is being involked for one time only. But if we return some value like 30 or 40 or No_of_bytes written, then read_proc is … Continue reading

Posted in Uncategorized | Leave a comment

Able to make my own proc entry.

Implemented create_proc_entry AND create_proc_read_entry successfully. read_proc successfully mapped and working on opening /proc/my_file… Also writing into the file. And reading the contents.

Posted in Uncategorized | Leave a comment

Thread synchronization done.

Running 100 applications in background writing and reading on Device… working absolutely fine.  

Posted in Character Driver, Linux Internals and System Programming | Leave a comment

Today’s work…

Implemented Driver Initialization Algo. Able to run my own open() function in module.

Posted in Uncategorized | Leave a comment

Today’s work…

Implemented driver again… implemented sockets using iNET and able to chat between two systems..

Posted in Uncategorized | Leave a comment

todays work…

Implemented Drivers (Initialization & Registration), Implemented Posix Threads.  

Posted in Device Drivers | Leave a comment

Some important things about segments…

1. The address of variables stored in data segment never changes. 2. All the functions are allocated memory in data segments whether it is defined inside main(locally) or outside main(globally). 3. Initialized global variables are stored in data segment, UN-initialized … Continue reading

Posted in Data Structures with C | 3 Comments

Segment for command line arguments.??

In which segment does a command line argument goes…??

Posted in Data Structures with C | 1 Comment

Why C is showing c+2 after coming back form the macro call…???

#include #define max(a,c,b) a=(b>c)?b:c void max1(int,int,int); int main() { int a=1,c=5,b=4; max(a,c++,b++);//It will make b=5 and c=7.. ?? printf(“By Macro %d\n”,a); printf(“now a= %d\nb= %d\nc=%d\n”,a,b,c); max1(a,b++,c++); return 0; } void max1(int a,int b,int c) { a=(b>c)?b:c; printf(“%d \n”,a); }

Posted in Data Structures with C, Uncategorized | Leave a comment

Implementation of CVS and RCS

Both CVS and RCS have been implemented successfully.

Posted in Project Management Tools | Leave a comment