Skip to contentSkip to conversation

question about m8260_cpm_hostalloc

DISCUSSION stefania magistrali 2 participants 2 messages Feb 9, 2007 – Feb 10, 2007

lore
Share & tools
lore
#0 lore raw

Hi!
I am using the m8260_cpm_hostalloc function. My question is: does this function return cached or uncached memory? Instead I think that the m8xx_cpm_hostalloc function gives back uncached memory. If so, why this difference? I need to have uncached memory, so I would like to be sure about using m8260_cpm_hostalloc function.
Thanks very much!
Stefania

#1 lore raw
Quoted 3 lines · stefania magistrali

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.

Quoted 1 line

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