Re: Protected threads

2021-11-05 Thread MIGUEL ALEXANDRE WISINTAINER
Nice! Now 3 Brazilians ? Alan , Fábio and Miguel ? More ? Enviado do meu iPhone > Em 4 de nov. de 2021, à(s) 21:18, Fabio Pereira > escreveu: > > Hi! > > I am new to this list. I have played with Nuttx in the past but now there > is an opportunity to put it to use in a real application! > W

Re: Protected threads

2021-11-04 Thread Fabio Pereira
Thank you Gregory! I have never really had time to dig into ARM's MPU implementation but the reason I thought it was possible is because FreeRTOS 10 claims that its unprivileged tasks can run segregated with access limited to its own stack and up to three user definable memory regions. I guess I a

Re: Protected threads

2021-11-04 Thread Gregory Nutt
> - You cannot use all normal application interfaces. You have to use > internal OS interfaces. For example, you cannot call printf() in the OS > but you can call syslog(). You should not use file descriptors. Instead, > there are are special OS internal interfaces for file system access, > net

Re: Protected threads

2021-11-04 Thread Gregory Nutt
> ... I do have a question: considering an MCU with a > Memory Protection Unit, is it possible to have some threads running > isolated from each other? I understand that using the protected build we > can only have two spaces: kernel and user. So if I wanted to have protected > threads running in s