<div dir="ltr"><div>Hi,</div><div> </div><div>Would like to store the previous and next tasks CPU contexts in a specific location for snooping the task context information. </div><div> </div><div>This would help me to debug from RAM contents when cpu hang cases.</div>
<div> </div><div> </div><div><br>ENTRY(__switch_to)<br> UNWIND(.fnstart )<br> UNWIND(.cantunwind )<br> add ip, r1, #TI_CPU_SAVE<br> ldr r3, [r2, #TI_TP_VALUE]<br> ARM( stmia ip!, {r4 - sl, fp, sp, lr} ) @ Store most regs on stack<br>
</div><div>< code > </div><div> </div><div>Could you please share any code reference for this ?</div><div> </div><div>-Thanks, Prasad</div></div>