RTEMS | riscv: enable using PLIC in S-mode (!1242)

Gedare Bloom (@gedare) gitlab at rtems.org
Mon May 25 16:26:39 UTC 2026




Gedare Bloom commented on a discussion on bsps/riscv/shared/mmu/mmu-setup.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1242#note_150991

 >      two_MiB,
 >      mmio_flags
 >    );
 > +
 > +  riscv_map_megapages(
 > +    control,
 > +    riscv_l1_mmio_page_table,
 > +    0xc000000, /* TODO: get this from FDT? make sure it's in the same l0 pte */

I think we can use the compatible field to figure it out.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1242#note_150991
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260525/44b558a5/attachment.htm>


More information about the bugs mailing list