Messages in this thread | | | Date | Mon, 7 Feb 2000 16:40:56 -0600 (CST) | From | pramodh mallipatna <> | Subject | Re: Question on memory mapping |
| |
The constraint is, I have to use 2.2.5 kernel. I can't use any other kernel.
So, kiovec does the reverse mapping (user memory to kernel) right. Can it be associated with a device driver like mmap?
Do you think porting is a good idea or follow the lines of kiovec and implement similar thing for my driver?
Thanks, Pramodh
On Mon, 7 Feb 2000, Alan Cox wrote:
> > Ultimately what I want to achieve is I want to map the user allocated > > memory to the kernel (sort of reverse operation done by mmap). So, after > > getting the physical address, will allocating a virtual page and mapping > > that virtual page to the physical page of the user address do the job? If > > not, how should I do the mapping? > > By mmapping kerne memory into user space. Or with 2.3.x the kiovec stuff > provides the basis of what you need. >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |