se_sc instruction on MPC5744P

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

se_sc instruction on MPC5744P

855 次查看
qm1013
Contributor III

hello , nxp:

When the FreeRTOS is ported to diab(winder river compiler), I have some problems, bellow is the instructions:

static portFORCE_INLINE BaseType_t xPortSyscall( const BaseType_t number )
{
register BaseType_t numberR3 __asm__ ("r3") = number;

__asm__ volatile
(
"se_sc" : "+r" (numberR3) : : "cr0", "r4"
);

return numberR3;
}

 In the  Variable-Length Encoding (VLE) Programming Environments Manual  document, I find that the the se_sc have no parameter, how could I port this instruction to diab , Could you help me ? 

regards,

meng

0 项奖励
1 回复

796 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi,

I would apparently recommend to contact WindRiver support. Unfortunately we don't have experience with that compiler here.

Wind River Customer Support 

0 项奖励