Hi,
Is there CMEM_allocPool source code? Customer wants to know how poolid and CMEM_AllocParams * params correspond to pool area.
For example: modprobe cmemk phys_start=0xa0000000 phys_end=0xa1000000 pools=10x4096,2x1M,4x256K
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Is there CMEM_allocPool source code? Customer wants to know how poolid and CMEM_AllocParams * params correspond to pool area.
For example: modprobe cmemk phys_start=0xa0000000 phys_end=0xa1000000 pools=10x4096,2x1M,4x256K
Hi Nancy,
Yes, the CMEM code is public and is provided on gitweb through the ludev repo.
https://git.ti.com/gitweb/?p=ipc/ludev.git
The CMEM kernel module source code is available in src/cmem/module/cmemk.c.
The CMEM userspace code is available in src/cmem/api/cmem.c.
regards
Suman