pussuw commented on a change in pull request #5273:
URL: https://github.com/apache/incubator-nuttx/pull/5273#discussion_r788410574
##########
File path: arch/risc-v/include/arch.h
##########
@@ -62,6 +62,12 @@ uint32_t up_gethartid(void);
#endif
+/* Provide the maximum amount of page table levels per MMU type */
+
+#ifdef CONFIG_ARCH_MMU_TYPE_SV39
+#define ARCH_PGT_MAX_LEVELS (3)
Review comment:
It will eventually be needed elsewhere too. I'm implementing
`CONFIG_BUILD_KERNEL` for RISC-V / MPFS target.
--
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]