pussuw commented on code in PR #15081:
URL: https://github.com/apache/nuttx/pull/15081#discussion_r1877653608


##########
arch/risc-v/include/arch.h:
##########
@@ -56,6 +56,106 @@
 #  define ARCH_SPGTS          (ARCH_PGT_MAX_LEVELS - 1)
 #endif
 
+#ifndef __ASSEMBLY__
+
+/* Read the value of a CSR register */
+
+#define READ_CSR(reg) \

Review Comment:
   Move these to csr.h



-- 
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