RTEMS 6.1-rc6
|
#include <chip.h>
Functions | |
void | MPU_Enable (uint32_t dwMPUEnable) |
Enables the MPU module. | |
void | MPU_SetRegionNum (uint32_t dwRegionNum) |
Set active memory region. | |
void | MPU_DisableRegion (void) |
Disable the current active region. | |
void | MPU_SetRegion (uint32_t dwRegionBaseAddr, uint32_t dwRegionAttr) |
Setup a memory region. | |
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. | |
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.