no1wudi commented on code in PR #15081: URL: https://github.com/apache/nuttx/pull/15081#discussion_r1889782901
########## arch/risc-v/include/arch.h: ########## @@ -120,6 +245,84 @@ extern "C" #define EXTERN extern #endif +#ifndef __ASSEMBLY__ + +/**************************************************************************** Review Comment: @pussuw If these API are not called frequently, how about store the TCB pointer in scratch register, and use another approach to get percpu_s , such as fetch it from g_percpu by hart id? -- 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]
