se_sc instruction on MPC5744P

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

se_sc instruction on MPC5744P

1,026 Views
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 Kudos
Reply
1 Reply

967 Views
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 Kudos
Reply