EmbLogic's Blog

Category Archives: Uncategorized

character driver registration

Posted in Uncategorized | Leave a comment

algorithm to write initialization function for character deriver

follow these simple steps to initialize your character driver…. 1. use module __init(initialization_function_name) this is a micro which takes function name as argument. 2. static int initialization_function_name(void) this is the defination of micro… in this defination follow following steps.. a. … Continue reading

Posted in Uncategorized | Leave a comment

information about kernel symbol table

We’ve seen how insmod resolves undefined symbols against the table of public kernel symbols. The table contains the addresses of global kernel items—functions and variables—that are needed to implement modularized drivers. When a module is loaded, any symbol exported by … Continue reading

Posted in Uncategorized | Leave a comment

register your charcter deriver

Posted in Uncategorized | Leave a comment

register of character deriver

Posted in Uncategorized | Leave a comment

fibonacci series using array

1 #include 2 int main() 3 { 4 int a,b,c,i,n; 5 b=0; 6 c=1; 7 printf(“enter the value \n”); 8 scanf(“%d”,&a); 9 int d[a]; 10 d[0]=0; 11 d[1]=1; 12 i=2; 13 printf(“%d”,d[0]); 14 while(i<a) 15 { 16 d[i]=b+c;b=c;c=d[i]; 17 i++; … Continue reading

Posted in Uncategorized | Leave a comment

fibonnacci series using pointers

#include 2 #include 3 #include 4 int main() 5 6 { 7 int a,b,c,n,t,i; 8 int *ptr; 9 10 i =2; 11 /* a=0; 12 b=1;*/ 13 printf(“enter the max range for fibonacci”); 14 scanf(“%d”,&n); ptr = (int *)malloc(sizeof(n)); 17 … Continue reading

Posted in Uncategorized | Leave a comment

program of thread and checking load of processor

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.06.07.07.30.30;    author root;    state Exp; branches; next    ; desc @simple program of thread. @ 1.1 log @Initial revision @

Posted in Uncategorized | Leave a comment

a program of function using shell scripting

RCS file: fun,v Working file: fun head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: a program of function using shell scripting —————————- revision 1.1 date: 2014/06/07 10:05:25; author: root; … Continue reading

Posted in Uncategorized | Leave a comment

program of threads and checking load of processor

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.06.07.07.30.30;    author root;    state Exp; branches; next    ; desc @simple program of thread. @ 1.1 log @Initial revision @

Posted in Uncategorized | Leave a comment

Python Program

RCS file: ./1.py,v Working file: ./1.py head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: this is python program i have print name and age —————————- revision 1.1 date: 2014/06/07 … Continue reading

Posted in Uncategorized | Leave a comment

a program of even and odd number

RCS file: fun2,v Working file: fun2 head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: check the even and odd number —————————- revision 1.1 date: 2014/06/07 05:06:48; author: root; state: … Continue reading

Posted in Uncategorized | Leave a comment

sum of two number using function

description: sum of two number using function —————————- revision 1.1 date: 2014/06/07 05:00:40; author: root; state: Exp; Initial revision =============================================================================

Posted in Uncategorized | Leave a comment

draw a line using function

description: draw a line usig function —————————- revision 1.1 date: 2014/06/07 04:55:05; author: root; state: Exp; Initial revision =============================================================================

Posted in Uncategorized | Leave a comment

C++

RCS file: ./3.cpp,v Working file: ./3.cpp head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: used c++ in this program made class and objects successfully running. —————————- revision 1.1 date: … Continue reading

Posted in Uncategorized | Leave a comment