Re: Address spaces on a i386 - Getting Confused

Stephen Williams (steve@icarus.com)
Fri, 02 Apr 1999 11:35:37 -0800


rgooch@atnf.csiro.au said:
> He should be able to allocate kernel pages and mmap() them to user
> space. Then he can DMA into the pages and wake up the user process
> when it's done.

That is how I do the driver for an image processing board we do. This
also works for Windows NT, if your pages are physically contiguous.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

- 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/