使用6678的BIOS建立了八个任务,分别在核0~7上运行任务,其中核与核之间需要共享一些数据,想把共享数据放在共享内存区,想在CMD文件里分配相应的内存数据段,但是编译完成之后在DEBUG下的configPkg文件下会自动生成一个link.cmd文件,而且不允许修改!!导入一些BIOS的例程也是这样,请问这是为何??
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.
建议在BIOS工程的.cfg文件里指定该共享数据存放的空间,格式如下
Program.sectMap[".text"] = "MSMC_CODE";
Program.sectMap[".const"] = "MSMC_CODE";
Program.sectMap[".cppiMemRX"] = "DDR_3_1";