question about m8260_cpm_hostalloc
Dan Malek
dan at embeddedalley.com
Sun Feb 11 05:11:12 EST 2007
On Feb 9, 2007, at 4:58 AM, stefania magistrali wrote:
> Hi!
> I am using the m8260_cpm_hostalloc function. My question is: does this
> function return cached or uncached memory?
It returns a cache coherent address space.
Whether it's cached or uncached is determined
by the capabilities of the processor.
> I need to have uncached memory,
Why? The CPM on the 82xx performs
cache coherent data transfers with the
G2 core.
Make sure you are using the proper memory
allocation functions. The XXX_cpm_hostalloc()
function is intended to provide an efficient
allocator for the small memory resident FIFOs
or control structures needed by the CPM.
It's not a data transfer buffer allocator.
Thanks.
-- Dan
More information about the Linuxppc-embedded
mailing list