RTEMS
5.0.0
|
#include <chip.h>
Functions | |
void | MPU_Enable (uint32_t dwMPUEnable) |
Enables the MPU module. More... | |
void | MPU_SetRegionNum (uint32_t dwRegionNum) |
Set active memory region. More... | |
void | MPU_DisableRegion (void) |
Disable the current active region. | |
void | MPU_SetRegion (uint32_t dwRegionBaseAddr, uint32_t dwRegionAttr) |
Setup a memory region. More... | |
uint32_t | MPU_CalMPURegionSize (uint32_t dwActualSizeInBytes) |
Calculate region size for the RASR. | |
void | MPU_UpdateRegions (uint32_t dwRegionNum, uint32_t dwRegionBaseAddr, uint32_t dwRegionAttr) |
Update MPU regions. More... | |
void MPU_Enable | ( | uint32_t | dwMPUEnable | ) |
Enables the MPU module.
dwMPUEnable | Enable/Disable the memory region. |
void MPU_SetRegion | ( | uint32_t | dwRegionBaseAddr, |
uint32_t | dwRegionAttr | ||
) |
Setup a memory region.
dwRegionBaseAddr | Memory region base address. |
dwRegionAttr | Memory region attributes. |
void MPU_SetRegionNum | ( | uint32_t | dwRegionNum | ) |
Set active memory region.
dwRegionNum | The memory region to be active. |
void MPU_UpdateRegions | ( | uint32_t | dwRegionNum, |
uint32_t | dwRegionBaseAddr, | ||
uint32_t | dwRegionAttr | ||
) |
Update MPU regions.