jasonbu opened a new pull request, #15425:
URL: https://github.com/apache/nuttx/pull/15425

   ## Summary
   we are mixed using inline and inline_funcion in irq.h
   also this kind of declaration is a little bit confuzed,
   ```C
   static inline uint8_t getprimask(void) always_inline_function;
   static inline uint8_t getprimask(void)
   ```
   
   a further in-development issue is:
   in arm-v6/7/8m when **exception_direct**, the running_regs in xcp, will not 
match with the arm auto saved register.
   that will mostly cause the backtrace fail as regs pointed to the random 
value in stack.
   
   we should make a difference between arm-m and other arm-series. make 
up_getusrsp isolate by each arh should prefer.
   
   ## Impact
   in arm up_getusrsp from arm-common.c to irq.h each arch.
   all other arch move up_getusrsp to irq.h also.
   no other side effect.
   should possible fix the psp & exception_direct caused unwind failure in next 
patch.
   
   ## Testing
   CI-test, local mps2 qemu.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to