mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 13:55:15 +00:00
arch/armv7-r: add undefined mpu_region_s
This copies struct mpu_region_s from armv7-m to fix PROTECTED mode build error: `invalid use of undefined type 'struct mpu_region_s'` Signed-off-by: Yanfeng Liu <p-liuyanfeng9@xiaomi.com>
This commit is contained in:
parent
f1957845b9
commit
1cecf6791d
1 changed files with 19 additions and 0 deletions
|
|
@ -106,6 +106,25 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
struct mpu_region_s
|
||||
{
|
||||
/* Region Base Address */
|
||||
|
||||
uintptr_t base;
|
||||
|
||||
/* Region Size */
|
||||
|
||||
size_t size;
|
||||
|
||||
/* Region Attributes */
|
||||
|
||||
uint32_t flags;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue