AM263x MCU+ SDK  09.01.00
MPU FIREWALL

MPU FIREWALL driver provides API to read different regions in all supported firewalls.

Features Supported

  • API to read MPU Firewall regions, including region start address, size, attributes like access permissions and AID configurations
  • APIs to read fault address, fault status and to get interrupt status for a mpu region.

Features NOT Supported

  • Configuration of MPU firewall regions is not supported via this driver and is supported via HSM Services. For more information HSM Client SetFirewall Service.

Important Usage Guidelines

  • None

Example Usage

Include the below file to access the APIs

Example to setup MPU Firewall regions is shown below,

/* Initialize the MPU Param structure */
MPU_FIREWALL_RegionParams_init(&mpuParams);
/* Set the region parameters */
mpuParams.id = 4;
mpuParams.regionNumber = 0;
/* Program the parameters for the region */

API

APIs for MPU Firewall

MPU_FIREWALL_getRegion
Fwl_Return_t MPU_FIREWALL_getRegion(MPU_FIREWALL_RegionParams *mpuParams)
Retrieves the start and end addresses and the permission attributes of a given region in a given fire...
MPU_FIREWALL_RegionParams::id
uint32_t id
Definition: mpu_firewall/v0/mpu_firewall.h:124
MPU_FIREWALL_RegionParams
MPU Region Parameters.
Definition: mpu_firewall/v0/mpu_firewall.h:122
mpu_firewall.h
MPU_FIREWALL_RegionParams::regionNumber
uint32_t regionNumber
Definition: mpu_firewall/v0/mpu_firewall.h:126