Cmem module _davinc da Vinci

Source: Internet
Author: User
Tags sdo
Module Cmemk.ko provides continuous memory for ARM and DSP communications, and is loaded in the form of: Insmod Cmemk.ko pools=4x30000,2x500000 phys_start=0x0 phys_end=0x3000000 pools_1 =4x65536 phys_start_1=0x80000000 phys_end_1=0x80010000 indicates that two memory pools have been created on the memory 0x0~0x2ffffff, the first of which consists of 4 30000 bytes of cache. The second consists of 2 500000-byte caches. A memory pool consisting of 4 65536-byte caches is opened on the memory 0x80000000~0x8000ffff. (Note: A lower version of Cmem supports only one piece of memory) in accordance with DaVinci Memory, Cmem memory space is located between the memory used by Linux and DSP algorithm, CMEM memory space is 118~128m in dvsdk2.0 (Low version dvsdk is 120~ 128M, but the low version of the DVSDK DSP server program 128M after a very large piece is not used, Cmem big is OK, but 2.0 DSP server program memory use from 128M start) dvsdk2.0, Cmem module directory is: [ Root@localhost cmem]# pwd
/opt/dvsdk_2_00_00_22/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem[root@localhost cmem]# Tree
.
|--CMEM.XDC
|--Makefile
|--Rules.make
|--Apps
| | | |-Makefile
| | | |-apitest
| | | |-Makefile
| | '--apitest.c
| | | |-INSMOD_RMMOD
| | | |-Makefile
| | | |-insmod_rmmod.sh
| | '--insmod_rmmod_omapl137.sh
| | | |-multi_process
| | | |-Makefile
| | '--MULTI_PROCESS.C
| '--translate
| | | |-Makefile
| '--translate.c
|--Include
| '--cmem.h
|--Lib
| '--cmem.a470mv
|--Package
| | | |-BUILD.CFG
| | | |-package.bld.xml
| | | |-PACKAGE.DEFS.H
| | | |-package.doc.xml
| | | |-package.ext.xml
| | | |-PACKAGE.REL.DOT
| | | |-package.rel.xml
| | | |-PACKAGE_TI.SDO.LINUXUTILS.CMEM.C
| | | |-TI.SDO.LINUXUTILS.CMEM.CCS
| '--Ti.sdo.linuxutils.cmem.sch
|--PACKAGE.XDC
|--Package.xs
|--Readme.txt
'--src
|--Makefile
|--Interface
| | | |-Makefile
| | | |-CMEM.C
| | | |-CMEM.H
| '--Release
| '--cmem.o470mv
'--module
|--Makefile
|--Module.symvers
|--CMEMK.C
|--Cmemk.ko
|--CMEMK.MOD.C
|--CMEMK.MOD.O
'--cmemk.o12 directories, files
[Root@localhost Cmem] #cmem提供的接口在demo中没有出现, but is encapsulated by the middleware. dvsdk1.3 in the allocation of memory in the CE osal package in the memory module of the Memory_contigalloc () function, dvsdk2.0 demo using the Dmai module (on the CE on the basis of further encapsulation).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.