Mail Archives: djgpp/1998/02/13/10:45:41
B Hodge (bhodge AT gpu DOT srv DOT ualberta DOT ca) wrote:
: Nate Eldredge <eldredge AT ap DOT net> wrote:
: > Normally you allocate the DMA buffer in conventional memory. That way you
: > know its physical location, and that it's contiguous. Allocate 128K, then
: > find a 64K boundary within that.
: I always hear and see about that approach and get an ill feeling in my
: gut. Wasting 64K like that seemse sorta pointless. I see how it would
: probably require it if the buffer needed to be 64K, as it is next to
: impossible to get a perfectly aligned page 64K.
[ Klippa, klapp, kluppit excellent method to allocate DMA buffer. ]
It's impossible to selectively free parts if the 128K, I suppose?
Scratch-scratch-scratch,
MartinS
- Raw text -