EmbLogic's Blog

Category Archives: Uncategorized

loop

for(y=1;y<10;y++) x=y; printf(“%d\n”,x); printf(%d\n”,y); it gives the output 9,10. why?

Posted in Uncategorized | 2 Comments

What are init 0, init 1, init 2 ,init 3, init 4, init 5, init 6, init s, init S

There are basically 8 runlevels in unix. Run Level: At any given time, the system is in one of eight possible run levels. A run level is a software configuration under which only a selected group of processes exists. Processes … Continue reading →

Posted in Uncategorized | Leave a comment

related to character drivers

i have complete semaphore,completion,spin_lock for multiple item

Posted in Uncategorized | Leave a comment

Driver status

sir, i have use smaphore,blocking-IO,lseek on my character driver.

Posted in Uncategorized | Leave a comment

Discussion over the compilation process,linker at link time and run time……

Sir we have only abstract knowledge about compilation process,linker, loader, and shared objects at run time,and about kernel modules at run time….So its important concept and we requested you to please  organize comprehensible lecture on this topic……

Posted in Uncategorized | Leave a comment

character driver……………….

partial write   creates problem so i could not able to implement multiple quantum ,without partial write it is easy perform for multiple quantum , and it crates complexity so i want to  freeze my self at single quantum ……….

Posted in Uncategorized | Leave a comment

char_driver status…

sir, i have completed read & write in single as well as multi quantum.

Posted in Uncategorized | Leave a comment

related to char. driver

i have complete read write operation for multiple item and llseek also done

Posted in Uncategorized | Leave a comment

why not Address operator & used with the string variables in scanf function and used for other types??..

Posted in Data Structures with C, Uncategorized | 3 Comments

Wish you

?BELATED HAPPY DIWALI?

Posted in Uncategorized | Leave a comment

STATUS: Char DD

Completed: open, close, read (single quantum, multiple quantum),write(single quantum, multiple quantum),semaphore(syn tech),LSEEK. Working: Completion, IOCTL. earlier ioctl (struct inode * inode, struct file * filp, unsigned int cmd, unsigned long arg) In 2.6.x the ioctl is divided in to 2 … Continue reading →

Posted in Uncategorized | Leave a comment

linklidt and scull

problem is while traversing it gives the segmentation fault. #include<stdio.h> #include<unistd.h> #include<stdlib.h> struct linklist{ char **data; struct linklist *next; }*start,*temp,*last; int main() { int i,j,m,l; int quantams; char y; start=(struct linklist*)malloc(sizeof(struct linklist)); temp=(struct linklist*)malloc(sizeof(struct linklist)); //last->data=malloc(sizeof(char*)*); //printf(“enter the dat in … Continue reading →

Posted in Uncategorized | Tagged | 1 Comment

status of character device driver

i have done sucessfully READ and WRITE operation in multiple quantum. i have also done synchonization technique Semaphore,Completion. now i m working on llsekk operation.

Posted in Uncategorized | Leave a comment

Toolchain help!!!

Hi, I am working on cross development toolchain. I used packages binutils-2.10.1, gcc-2.95.3, glibc-2.2.4, glibc-linux-threads-2.2.4, kernel-2.4.17. (most common packages for building toolchain) I followed book “Building Embedded Linux Systems (OReilly 2003) – chapter 4″ and finally i am able to … Continue reading →

Posted in Embedded Linux, Uncategorized | 4 Comments

status of character driver

I have completed the read and write operation in driver for multiple quantum.now i m working on semphore operation.

Posted in Uncategorized | Leave a comment