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.

[参考译文] AM623:AM623M 内核中 malloc 函数的内存问题

Guru**** 2487425 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1441557/am623-memory-problems-with-malloc-function-in-am623m-kernel

器件型号:AM623

工具与软件:

我想问一下、如果我通过 M 内核中的 malloc 申请存储器、那么存储器地址是在哪个存储器区域? 将会在内存区域0x9CC00000~0x9D8FFFFF 中、我该如何查看它?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    感谢您的提问。

    [quote userid="589196" url="~/support/processors-group/processors/f/processors-forum/1441557/am623-memory-problems-with-malloc-function-in-am623m-kernel 我能不能问我是否通过 M 内核中的 malloc 申请存储器?那么存储器地址将位于哪个存储器区域? 将位于的内存区域

    有关此详细信息、请参阅 linker.cmd 文件。 在运行时分配的内存将放入内存的堆段(由引用) .sysmem 部分添加了隔离说明 linker.cmd .

    对于 M4F 示例 .sysmem  该段存储在 M4F_IRAM 区域中。

    请参阅下图。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    好的、谢谢