O'Reilly logo

Embedded Systems Architecture by Daniele Lacamera

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Memory segmentation

Dynamic memory segmentation strategies can be integrated in the scheduler to ensure that the single tasks do not access memory regions associated with system-critical components and the resources that require the kernel supervision to be accessed from user space.

In Chapter 5Memory Management, we saw how the MPU can be used to delimit contiguous segments of memory and disallow access to specific areas by any of the code running on the systems. In fact, the MPU controller provides a permission mask to change the attributes of the single-memory regions with more granularity. In particular, we can allow access to some areas only if the CPU is running in privileged level, which is an efficient way of preventing user applications ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required