EmbLogic's Blog

Author Archives: praveen.joshi

character driver

proper implementation of cdev_init and cdev_add for 25 nod done.

Posted in Character Driver | Leave a comment

character driver

driver register and unregister with kernel perform using register_chrdev function and alloc_chrdev_region and unregister with unregister_chrdev_region . one issue faced: Instead of whole program execute successfully there is no output  and after reboot it gives correct output.

Posted in Character Driver | Leave a comment

thread: assignment

assignment completed using mutex and semaphore both.

Posted in Uncategorized | Leave a comment

IPC Project

project completed using message queues but facing problem in semaphore

Posted in Uncategorized | Leave a comment

memory allocation

ptr=malloc(sizeof(char)*4); if length of available characters in string is more than 4 then memory allocation to pointer cross the limit but it does not affect the output to print the string.

Posted in Uncategorized | 1 Comment