jserv / mini-arm-os

Build a minimal multi-tasking OS kernel for ARM from scratch
Other
1.04k stars 242 forks source link

Support for MPU #30

Open lecopzer opened 5 years ago

lecopzer commented 5 years ago

HI, After 08-CMSIS, is there any plan for MPU support?

MPU is common and basic to protect .text, .rodata and other custom regions. I think nowadays memory protection is the fundamental OS concept and should be implemented due to not only secure issue but modifying memory content accidentally.

jserv commented 5 years ago

I would like to introduce partial concepts in F9 microkernel regarding MPU support such as flexible pages. However, there is no explicit memory management API in mini-arm-os at the moment.

lecopzer commented 5 years ago

It seems the mini-arm-os would become medium-arm-os. It's interesting for me to code such things.

I'd like to eliminate the gap between mini-arm-os and either Piko-rt or F9. I thought I would start by some patch in the future.