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

Kinsey Moore (@opticron) gitlab at rtems.org
Sun May 24 03:05:49 UTC 2026




Kinsey Moore started a new discussion on bsps/riscv/shared/mmu/mmu-setup.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1242#note_150909

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

This TODO might be tricky. Current examples have it as `plic` or `plic0` and I'm not sure how it is presented in QEMU models.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1242#note_150909
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/20260524/1ab5a3b8/attachment.htm>


More information about the bugs mailing list