anchao commented on code in PR #13416: URL: https://github.com/apache/nuttx/pull/13416#discussion_r1757824898
########## arch/arm/src/armv8-m/arm_gen_nonsecfault.c: ########## @@ -46,6 +46,17 @@ #define OFFSET_R15 (6 * 4) /* R15 = PC */ #define OFFSET_XPSR (7 * 4) /* xPSR */ +/**************************************************************************** + * Private Data + ****************************************************************************/ + +static uint32_t g_psp_ns; +static uint32_t g_msp_ns; Review Comment: why need global data? -- 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]
