Re: Proper way to allocate DMA buffer within a single 4GB block?

2017-09-24 Thread Chuck Ebbert
On Wed, 20 Sep 2017 17:18:09 -0500 Timur Tabi wrote: > I have a device that requires I allocated a few buffers for DMA. The > problem is that this device has only one register for the upper 32 > bits of all of the buffers. That is, all of buffers must reside > within the same 4GB block of memory

Proper way to allocate DMA buffer within a single 4GB block?

2017-09-20 Thread Timur Tabi
I have a device that requires I allocated a few buffers for DMA. The problem is that this device has only one register for the upper 32 bits of all of the buffers. That is, all of buffers must reside within the same 4GB block of memory. In order words, end = start + size - 1; i