Lines Matching refs:LR
127 /* The stack space pointed to by the current SP may store the LR,
194 VOID LOS_RecordLR(UINTPTR *LR, UINT32 LRSize, UINT32 jumpCount, UINTPTR SP)
202 if (LR == NULL) {
225 LR[count] = backRa;
233 LR[count] = 0;
458 VOID LOS_RecordLR(UINTPTR *LR, UINT32 LRSize, UINT32 jumpCount, UINTPTR SP)
461 if (LR == NULL) {
472 HalBackTraceGet(SP, reglr, LR, LRSize, jumpCount);
530 VOID LOS_RecordLR(UINTPTR *LR, UINT32 LRSize, UINT32 jumpCount, UINTPTR SP)
540 if (LR == NULL) {
567 LR[index++] = checkBL;
574 LR[index] = 0;
612 VOID LOS_RecordLR(UINTPTR *LR, UINT32 LRSize, UINT32 jumpCount, UINTPTR SP)
621 if (LR == NULL) {
651 LR[count++] = linkReg & CLEAR_LOW_BIT_MASK;
660 /* if linkReg is not enough,clean up the last of the effective LR as the end. */
662 LR[count] = 0;
670 VOID LOS_RecordLR(UINTPTR *LR, UINT32 LRSize, UINT32 jumpCount, UINTPTR SP)
672 if (LR == NULL) {
689 /* Traverse the stack space and find the LR address. */
696 LR[count] = pc;
705 LR[count] = 0;
712 UINTPTR LR[BACKTRACE_MAX_DEPTH] = {0};
715 LOS_RecordLR(LR, BACKTRACE_MAX_DEPTH, OS_BACKTRACE_START, 0);
724 if (LR[index] == 0) {
727 PRINTK("traceback %d -- lr = 0x%x\r\n", index, LR[index]);