se_sc instruction on MPC5744P

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

se_sc instruction on MPC5744P

1,029件の閲覧回数
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 返信

970件の閲覧回数
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 件の賞賛
返信