xiaoxiang781216 commented on code in PR #15081: URL: https://github.com/apache/nuttx/pull/15081#discussion_r1887851836
########## arch/risc-v/include/arch.h: ########## @@ -120,6 +245,84 @@ extern "C" #define EXTERN extern #endif +#ifndef __ASSEMBLY__ + +/**************************************************************************** Review Comment: Why riscv works, but arm not? both need at least two instructions to fetch task pointer. As far as I know, only x64 arch support read task pointer from cpu specific storage with one instruction. -- 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]
