1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2018-2021, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #ifndef MOD_ARMV7M_MPU_H
9 #define MOD_ARMV7M_MPU_H
10 
11 #include <fmw_cmsis.h>
12 
13 #include <stddef.h>
14 
15 /*!
16  * \ingroup GroupModules
17  * \addtogroup GroupMPUARMv7M MPU (ARMv7-M)
18  * \{
19  */
20 
21 /*!
22  * \brief Module configuration.
23  */
24 struct mod_armv7m_mpu_config {
25     /*!
26      * \brief Number of MPU regions.
27      */
28     size_t region_count;
29 
30     /*!
31      * \brief Pointer to array of MPU regions.
32      *
33      * \details Documentation for the \c ARM_MPU_Region_t can be found in the
34      *      CMSIS 5 documentation for the ARMv7-M MPU.
35      *
36      * \see http://arm-software.github.io/CMSIS_5/General/html/index.html
37      */
38     const ARM_MPU_Region_t *regions;
39 };
40 
41 /*!
42  * \}
43  */
44 
45 #endif /* MOD_ARMV7M_MPU_H */
46