C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
 
Loading...
Searching...
No Matches
Memory protection

Description

Kernel internals in support for MPU configuration.

Real implementation of memory protection is heavily dependant on specific hardware capabilities. See Porting layer for details on expected API supported by architecture support layer regarding memory protection.

enum  MPU_Flags {
  MPU_NONE , MPU_RX , MPU_RWX , MPU_R ,
  MPU_RW
}
 MPU region access rights. More...
 

Enumeration Type Documentation

◆ MPU_Flags

enum MPU_Flags

MPU region access rights.

Enumerator
MPU_NONE 

Region cannot be accesses. Any attempt to access addresses from this region will result in hard fault.

MPU_RX 

Region can be read and executed. Attempt to write will result in hard fault.

MPU_RWX 

Region can be read, written and executed. No attempt to access region can result in hard fault.

MPU_R 

Region can be read. Attempt to write into region, or execute out of it will result in hard fault.

MPU_RW 

Region can be read and written but cannot be executed. Attempt to execute code will result in hard fault.