Hi
What is the difference between "extern void *ext0_alloc(size_t);" and "extern void *alloc_shared(size_t);"?
If I want to use co_memory for DMA transfer on the PLB bus, which function should I use and how to use it?
Thanks.
With regards
Yan Lin Aung
ext0_alloc() or alloc_shared() for co_memory usage on PLB Bus?
Started by yan_lin_aung, Feb 28 2008 08:12 AM
1 reply to this topic
#1
Posted 28 February 2008 - 08:12 AM
#2
Posted 07 March 2008 - 10:14 AM
Both functions must be written by the Impulse C programmer, to define how the shared memory is allocated by the CPU. The functions are invoked automatically by co_memory_create() when running on the CPU target (MicroBlaze or PowerPC, for example).
Please see the section "Shared Memory Features" in the Help file for either Xilinx Platform Support Package (Help > Platform Support Package Help menu in CoDeveloper).
Regards,
Ralph
Please see the section "Shared Memory Features" in the Help file for either Xilinx Platform Support Package (Help > Platform Support Package Help menu in CoDeveloper).
Regards,
Ralph
Ralph Bodenner
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












