pussuw commented on code in PR #6069: URL: https://github.com/apache/incubator-nuttx/pull/6069#discussion_r850432824
########## arch/risc-v/src/common/riscv_mmu.h: ########## @@ -90,7 +94,7 @@ #ifdef CONFIG_ARCH_MMU_TYPE_SV39 #define RV_MMU_PTE_PADDR_SHIFT (10) -#define RV_MMU_PTE_PPN_MASK ((1 << RV_MMU_PTE_PADDR_SHIFT) - 1) +#define RV_MMU_PTE_PPN_MASK (((1ul << 44) - 1) << RV_MMU_PTE_PADDR_SHIFT) Review Comment: They are applicable for `CONFIG_ARCH_MMU_TYPE_SV39` -- 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]
