Searched refs:SPSEL (Results 1 – 8 of 8) sorted by relevance
34 handler code relies on the 'SPSEL' bit in 'EXC_RETURN' to get the caller stack41 tst lr, #4 ; EXC_RETURN.SPSEL == ?43 moveq r0, r2 ; if (EXC_RETURN.SPSEL == 0) r0 = msp;44 movne r0, psp ; if (EXC_RETURN.SPSEL == 1) r0 = psp;52 to the value of SPSEL. However, the code above selects secure process stack54 handling based on EXC_RETURN.SPSEL, hence the SVC handler accesses the wrong57 stack pointer register by checking both the PE mode and SPSEL bit. The handler
302 uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */ member
381 uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */ member
327 uint32_t SPSEL:1; /*!< bit: 1 Stack-pointer select */ member
434 uint32_t SPSEL:1; /*!< bit: 1 Stack-pointer select */ member
441 uint32_t SPSEL:1; /*!< bit: 1 Stack-pointer select */ member
443 uint32_t SPSEL:1; /*!< bit: 1 Stack-pointer select */ member
444 uint32_t SPSEL:1; /*!< bit: 1 Stack-pointer select */ member