Will this code work for alocating minor and major numbers
insert
if(skull_major)
{
/* Legacy support for direct assignment */
dev = MKDEV(skull_major, skull_minor);
...
Type: Posts; User: vinayharitsakp@
Will this code work for alocating minor and major numbers
insert
if(skull_major)
{
/* Legacy support for direct assignment */
dev = MKDEV(skull_major, skull_minor);
...
HI
Quote: Salem
Its a problem i a facing. I am facing this problem from a hour .if u can solve my problem then fine otherwise pls do not pass comments. This is a request.
Thanks,
HI
1.How do i allocate major mumber and minor numbers in linux 2.6.8 version.
Any idea.
2. Can we allocate Major numbers and minor numbers Dynamically?
How can i implement the above code using linked list.
Do i need to use a pointer to the above structure
how do i need to generate a structure array?
I am confused :(
If possible provide an...
HI reason is that you have not set the path of the header files directory properly.
First do that and then try.
you will be able to do.
NO i am not trying to describe cross compilation,
i am trying to run a embedded c code (for ex that runs on keil for a specific hardware req )
on a normal c compiler such as turbo c .(with 2 files...
My view is that in keil for example it generates the back end code in .a51 format.
In the same way if we can create the hardware specifications as a different file and combine it link it with the...
Can embedded c code be compiled on a c compiler.if yes how, if no why not.
I have a problem that , can the structures be self referential.
if yes pls give an example.
i got that
But is there any other way to declare and use Extern and static together.
As i said.
I have a problem
I Have two files f1 and f2
in file f1 variable a is declared as
extern int a;
In f2 a is declared and defined as
static in a;