大家好,我的程序之前还挺好的,后来不知道动了什么,就一直停在主核向从核发message那里, 困扰了我好几天了,现把截图贴到这里,请大神么给看看,谢谢了!
从核提示hwi堆栈溢出了,主核提示cache_wbInv那里出错,但是我的cache_wbInv操作都删掉了,还是会出错!
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.
补充:主核运行到 if (MessageQ_put(queue_id[i], (MessageQ_Msg)p_msg) < 0)就崩溃了,暂停之后弹出TransportShm.c文件指向
Bool TransportShm_put(TransportShm_Object *obj, Ptr msg)函数里面的这条语句
/* make sure ListMP_put and sendEvent are done before remote executes */
key = GateMP_enter((GateMP_Handle)obj->gate);
还有Cache.c里面的
Void Cache_wait()
{
/* wait for L2 word count to be zero */
while (*L2WWC != 0) {
;
}
/*
* Stall CPU while memory system is busy.
*/
_mfence();
}
停在while语句那里,请问我到底错在哪了?