> Please suggest me what could be the problem.
the problem is that you are using a way way way too old kernel. I
suggest you fix that first
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://
#x27;
Make[3]: *** [I810_main.c] Error 1
....
..
The call to "remap_page_range()" is as follows:-
return (io_remap_page_range(vma->vm_start, off, vma->vm_end -
vma->vm_start, vma->vm_page_prot)) ? -EAGAIN : 0;
Please suggest me what could be the problem.
Regards,
Mukund jampala
It n
g arg 1 of 'remap_page_range_R2baf18f2'
makes pointer from integer without a cast
i810_main.c: 643: incompatible type for argument 4 of
'remap_page_range_R2baf18f2'
i810_main.c: 643: too few arguments to function
'remap_page_range_R2baf18f2'
Make[3]: *** [I810_main.c] Error 1
....
...
Hi kernel list readers,
I have a question about the functionality of mmap(), vma->vm_ops functions and
different
vma->vm_flags. Is there any documentation that describes these methods and how they
should
work (i.e when should mmap() use remap_page_range and when is the vma->vm_ops
ion, I use remap_page_range(), which needs the
physical address. I CAN still get it from pci_resource_start(), but I'm
thinking I shouldn't.
The authors of the next edition say that you can remap virtual addresses
returned by ioremap, but didn't give an example, and I just can't figure
Linus Torvalds wrote:
...snip...
>
> Anyway, I didn't realize you were talking about the sound drivers use of
> remap_page_range(). That's not the original reason for remap_page_range()
> at all, and in fact it's the _ugly_ way to do things. It's simple and
Hello,
>
> >suppose i allocate an buffer by calling kmalloc.
>
> >i want to map this buffer to user address space.
> >will remap_page_range will automatically map this
> >buffer to calling process's address space.
>
> it should do if have the struct vm
>suppose i allocate an buffer by calling kmalloc.
>i want to map this buffer to user address space.
>will remap_page_range will automatically map this
>buffer to calling process's address space.
it should do if have the struct vm_area_struct of the calling process.
as far
Hi,
suppose i allocate an buffer by calling kmalloc.
i want to map this buffer to user address space.
will remap_page_range will automatically map this
buffer to calling process's address space.
thanks.
__
Do You Yahoo!?
Yahoo! Messenger -
Thanx for the answer.
> You can only remap reserved or I/O space
> Read drivers/sound a bit - it has code that allocates, reserves and remaps
> memory
Oh, now I see why I found so many references to
remap_page_range() in sound cards code. But there is still
something that seems odd
> Is remap_page_range working properly?
Probably
> But the code in remap_pte_range() seems to behave exactly in the opposite
> way; as far as I can see, it sets to null every page, _except_ "references
> to nonexistent pages"! Here are the relevant lines of code taken fro
Is remap_page_range working properly?
Keywords: memory management, kernel, /dev/mem, memory mapping
Version: Verified in Linux version 2.0.32 ([EMAIL PROTECTED])
(gcc version 2.7.2.3) #1 Wed Nov 19 00:46:45 EST 1997
But spotted also in the code of kernel 2.2.17 and 2.4.0-test1
Description of
Hello.
I am trying to mmap a frame buffer device (which I wrote) and it
doesn't seem to work. I verified the address - it appears OK.
However, whatever I write out to the address from my userland program,
the bits appear to go into the bit bucket.
I am trying to figure out remap_page_
13 matches
Mail list logo