equal
deleted
inserted
replaced
964 asm("tst r4, #%a0" : : "i" ((TInt)EWtStWaitActive)); |
964 asm("tst r4, #%a0" : : "i" ((TInt)EWtStWaitActive)); |
965 asm("beq 0f "); |
965 asm("beq 0f "); |
966 asm("ldr r1, [r6, #%a0]" : : "i" (_FOFF(NThreadBase,iPauseCount)-_FOFF(NThreadBase,iWaitState))); |
966 asm("ldr r1, [r6, #%a0]" : : "i" (_FOFF(NThreadBase,iPauseCount)-_FOFF(NThreadBase,iWaitState))); |
967 asm("sub r0, r6, #%a0" : : "i" _FOFF(NThreadBase,iWaitState)); // r0 = Thread() |
967 asm("sub r0, r6, #%a0" : : "i" _FOFF(NThreadBase,iWaitState)); // r0 = Thread() |
968 asm("movs r1, r1, lsl #16 "); // check if iPauseCount=iSuspendCount=0 |
968 asm("movs r1, r1, lsl #16 "); // check if iPauseCount=iSuspendCount=0 |
969 asm("andeq r1, r4, #%a0" : : "i" ((TInt)EWtStObstructed)); |
|
970 asm("bleq ReadyT__12NSchedulableUi "); // if so, make thread ready |
969 asm("bleq ReadyT__12NSchedulableUi "); // if so, make thread ready |
971 asm("0: "); |
970 asm("0: "); |
972 asm("mov r0, #0 "); |
971 asm("mov r0, #0 "); |
973 __POPRET(" r4-r6,"); // return KErrNone |
972 __POPRET(" r4-r6,"); // return KErrNone |
974 |
973 |