DMA memory while using the GBA ROM space as RAM
malcolm.parsons at gmail.com
Tue Aug 22 13:56:50 CEST 2006
On 8/22/06, Amadeus <amadeus at iksw-muees.de> wrote:
> We will use only zone 0 == DMA. This has only one drawback: if we
> allocate a DMA buffer, we might get a buffer in GBA ROM space.
> But this limitation is not severe: we use DMA buffers (for DMA or ARM7
> communication) only in very few device drivers. And as we can always
> count on the fact that the static kernel data structures are in main
> memory (==DMA-capable), we can simply allocate a static DMA buffer
> inside the driver. We can also align this buffer on an ARM9 cache line.
> What do you think?
I dislike static buffers, but in this case it may be the best choice.
More information about the dslinux-devel