使用IPC通信在CPU1,CPU2以及CM之间互相传输。定义了一个char类型的数组,其中CPU2传给CPU1是正常的。但是CPU1传给CM异常,它会在每个字节后自动补0. 其他类型如int,float等是正常的。所有的数据拷贝操作都是使用memcpy函数统一拷贝的。请问这是CM核特有的现象吗?正常现象吗?
CPU1 -> CM
CPU2->CPU1
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.
使用IPC通信在CPU1,CPU2以及CM之间互相传输。定义了一个char类型的数组,其中CPU2传给CPU1是正常的。但是CPU1传给CM异常,它会在每个字节后自动补0. 其他类型如int,float等是正常的。所有的数据拷贝操作都是使用memcpy函数统一拷贝的。请问这是CM核特有的现象吗?正常现象吗?
CPU1 -> CM
CPU2->CPU1