CW5.7 - sc3000 - osmalloc

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CW5.7 - sc3000 - osmalloc

2,711件の閲覧回数
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 返答(返信)

967件の閲覧回数
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 件の賞賛
返信

967件の閲覧回数
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 件の賞賛
返信

967件の閲覧回数
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 件の賞賛
返信