[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linear address mapping
pierce@scruznet.com said:
> if your device is intended to operate in a virtual memory environment
> (windows, NT, *nix, OS/2), then it will either have to use small
> static DMA buffers or it will have to support "scatter/gather".
In Linux, you do not need to go through all of this. Memory allocated
in kernel mode maps 1-to-1 to physical, so there is no problem. I've
written Linux drivers for devices with pretty large DMA transfers.
--
Steve Williams
steve@icarus.com
steve@picturel.com
"The woods are lovely, dark and deep. But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."
= Ô Á