EmbLogic's Blog

Category Archives: Uncategorized

status of project

semaphore implemented

Posted in Uncategorized | Leave a comment

What is the difference between Embedded Linux and Red Hat Linux?

Posted in Uncategorized | 3 Comments

what’s wrong wid da code??????

#include<stdio.h> int sarr[7]; int i,j=200;top=-1; int push(); int pop(); int display(); int ch; int main() { while(j>1) { printf(“enter case\n”); scanf(“%d”,&ch); switch(ch) { case 0:push(); break; case 1:pop(); break; case 3:j=-1; break; default: printf(“wrong selection”); } } } int push() … Continue reading →

Posted in Uncategorized | 2 Comments

DEVICE DRIVERS

Basic Driver Implemented –By Ovais Fareed (my blog account is not working)

Posted in Uncategorized | Leave a comment

Driver implemented

Driver implemented.

Posted in Uncategorized | Leave a comment

insmod lkm

i have used insmod command to insert lkm module without any errors! Thanks Pravjot Sir ..

Posted in Uncategorized | Leave a 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

what does child_pid>1 and exit(0)mean???

#include<stdio.h> #include<sys/types.h> #include<unistd.h> #include<stdlib.h> int main() { pid_t child_pid; child_pid = fork (); if (child_pid > 0) { }else { exit(0); }

Posted in Uncategorized | Leave a comment

exit code

what does exit code>or < 0,1,-1 mean????

Posted in Uncategorized | Leave a comment

special file directory called/proc???

what are these??/  

Posted in Uncategorized | Leave a comment

how mutex is different from binary semaphore ?

Hello, I just googled and found like their are some ownership issue which differentiate Mutex and Binary semaphore. Still I am confused !! (Also where should I use Mutex and where Binary semaphore ??)

Posted in Uncategorized | Leave a comment

problem in exec

unable to understand the working of execl() in the program even though we have implemented.

Posted in Uncategorized | Leave a comment

GROUP -B E12

signal assignment implemented.

Posted in Uncategorized | Leave a comment

Embedded Linux With ARM Processor

What is Embedded Linux? Embedded Linux is one of the emerging fields in Embedded Systems allowing the engineers to be flexible in implementation of bigger tasks. It is mingled with day to day life such as mobile phones, home security … Continue reading →

Posted in Uncategorized | Leave a comment

Block driver : Disk On RAM

-> Load the driver using insmod. This would create the block device files representing the disk on 512 KiB of RAM, with three primary and three logical partitions. –> Check out the automatically created block device files (/dev/sd*). /dev/sdb is … Continue reading →

Posted in Uncategorized | Leave a comment