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 ...

Get Embedded Systems Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.