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.

how to use Heap*MP Modules



Hi

how can Heap*MP Modules be useful? in the examples code i have seen create and allocate memory from Heap*MP but how i can use this allocated memory?

I have seen APIs that create/open and allocate memory from  this module but how can use this allocated memory? Is there any API to read this memory ?

in my application I need a share region to be see with all cores (core0 runs linux and core1-7 run sys/bios) Can i use Heap*MP Modules to do that?






  • Well, typically memory allocated from Heap*MP is used for passing messages between different processors.

    Heap*MP is supported between BIOS to BIOS not Linux to BIOS so I do not think you can use this in your case.

    For Linux you can use a module called CMEM.