CW5.7 - sc3000 - osmalloc

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CW5.7 - sc3000 - osmalloc

2,702 次查看
Fresher
Contributor I

In the multicore environment, osmalloc() function creates heap memory in which area ?

Whether that is in private memory area for individual  core or shared area of memory.



Message Edited by Alban on 2007-09-18 03:22 PM
标签 (1)
0 项奖励
回复
3 回复数

958 次查看
Alban
Senior Contributor II
Hello,

Please do use meaningful subjects which matches the requirement described in the following.

Many thanks on behalf of all readers.
Alban.


Message Edited by Alban on 2007-09-18 03:22 PM
0 项奖励
回复

958 次查看
Fresher
Contributor I
I am using CW version 5.7.0 and targeting sc3000 series cores.


Message Edited by Alban on 2007-09-18 03:22 PM
0 项奖励
回复

958 次查看
CrasyCat
Specialist III
Hello
 
To retrieve information about the CodeWarrior version you are using, perform these steps:
- Start CodeWarrior
- Select Help -> About Freescale CodeWarrior
- Click on "Install Products"
- CodeWarrior version used is displayed on top in the Installed Products dialog.
 
V5.7.xxx does not really help to figure out what you are using.
 
Around heap usage, I assume you are using SmartDSPOS and want to see how memory allocation is used.
 
If you get a closer look at the demo project {Install}\StarCore_Support\SmartDSP\demos\starcore\msc814x\multicore_shared_malloc\multicore_shared_malloc_project\malloc_core0.mcp
you will notice that he OS is defining 8 heaps:
2 local heaps and 6 shared heaps.
 
You can select where you want to allocate memory using the enumerated constants defined in os_mem_type enumeration type. This type is defined in
    {Install}\StarCore_Support\SmartDSP\include\common\os_mem.h
 
CrasyCat
0 项奖励
回复