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.

6678的地址映射问题



使用0x0c000000时,不想使用cache功能,所以想使用地址映射功能,将0x0c000000,映射到其他地址空间。代码如下:

MPAX_Config MPAX_cfg_table[]=
{
//{0x0C000000, 0x050000000>>4, 64*1024, MP_SR|MP_SW|MP_SX|MP_UR|MP_UW|MP_UX},/*MSMC_RAM, RWX*/
{0x0c000000, 0x00cf00000>>4, 64*1024, MP_SR|MP_SW|MP_SX|MP_UR|MP_UW|MP_UX},/*MSMC_RAM, RWX*/
};

KeyStone_XMC_MPAX_setup(MPAX_cfg_table, 0,
sizeof(MPAX_cfg_table)/sizeof(MPAX_Config));

KeyStone_SMS_MPAX_setup(
//KeyStone_SES_MPAX_setup(
MPAX_cfg_table,//MPAX_Config MPAX_cfg[],
1,//Uint32 firstSeg,
sizeof(MPAX_cfg_table)/sizeof(MPAX_Config),//Uint32 numSegs,
0//Uint32 PrivID
);

但是映射没有成功。