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.

[参考译文] RTOS/AM5728:共享物理内存

Guru**** 2589275 points
Other Parts Discussed in Thread: SYSBIOS

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/590403/rtos-am5728-sharing-physical-memory

器件型号:AM5728
Thread 中讨论的其他器件:SYSBIOS

工具/软件:TI-RTOS

我需要在 DSP/IPU 内核和中央 a15内核之间共享一个存储器区域、以便将图像传递给运行 SYS/BIOS 的各种处理器、并在 Linux 的同一存储器区域中收集结果、 我能够使用/dev/mem 和 Linux 上的 mmap 直接访问物理地址、我尝试从 dsp1 (即 C66)上运行的 SYS/BIOS 分配所需的内存、并使用 mmap 系统访问属于 Memory_alloc 返回的地址的页面、 但存储器内容不是我所期望的、因此我认为固件中显示的地址实际上是虚拟的、但我不知道如何从 SYS/BIOS 获取物理地址。

可能有一种不同的方法可以在处理器之间共享动态分配的内存的大块?