Gedare Bloom commented on a discussion on bsps/riscv/include/bsp/riscv-mmu.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1182#note_149204 > + */ > +void riscv_mmu_setup_translation_table( > + riscv_mmu_control *control > +); > + > +void riscv_mmu_setup( void ); > + > +BSP_START_TEXT_SECTION static inline void > +riscv_mmu_enable( const riscv_mmu_control *control ) > +{ > + /* Enable MMU */ > + unsigned long value; > +#if __riscv_xlen == 64 > + value = (uint64_t) SPTBR_MODE_SV39 << 60; > +#else > + value = (uint32_t) SPTBR_MODE_SV32 << 31; fixed -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1182#note_149204 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
