News for hackers. Stuff that matters.
Re:SeL4 on RISC-V Verified to Binary Code by zozbot234 on Wednesday May 05, 2021 @08:10AM (#27048884)
> For example, MMUs are unnecessary if the OS verifies that all programs only access memory that's been allocated to it.

You'd need some sort of proof-carrying code to allow verification of these properties in binaries. Also, features like MMU's and interrupts are needed anyway to implement virtual memory, or user tasks with adjustable priorities.

Re:SeL4 on RISC-V Verified to Binary Code by fuklief on Wednesday May 05, 2021 @09:02AM (#27049310)
Would virtual memory still be necessary on a capability machine architecture [0] ? My understanding is that would not be the case since all programs can only access memory that's been allocated to it. By definition, capabilities cannot be created out of thin air like pointers can be ?

[0]: https://www.cl.cam.ac.uk/research/security/ctsrd/cheri/

Re:SeL4 on RISC-V Verified to Binary Code by warkdarrior on Thursday May 06, 2021 @03:50PM (#27068281)
You probably still want to use virtual memory to simplify the programming model (flat address space) and to be able to overallocate memory across many processes. Without virtual memory you are pushing these functionalities to app developers.