提交 9709d29b 编写于 作者: J JerryH

fix: 增加MPU功能的开关宏,默认关闭

close #I3WE0S
Signed-off-by: NJerryH <huangjieliang@huawei.com>
Change-Id: Id193fd555877ac0c6b5b43e5dd5ede32531b86c4
上级 11bca47b
......@@ -32,6 +32,7 @@
#include "los_config.h"
#include "los_context.h"
#if (LOSCFG_MPU_ENABLE == 1)
#define SIZE_4G_BYTE 0x100000000
#define MPU_MAX_REGION_NUM 8
......@@ -233,4 +234,4 @@ INT32 HalMpuUnusedRegionGet(VOID)
return id;
}
}
#endif
......@@ -32,6 +32,7 @@
#include "los_config.h"
#include "los_context.h"
#if (LOSCFG_MPU_ENABLE == 1)
#define SIZE_4G_BYTE 0x100000000
#define MPU_MAX_REGION_NUM 8
......@@ -233,4 +234,4 @@ INT32 HalMpuUnusedRegionGet(VOID)
return id;
}
}
#endif
......@@ -32,6 +32,7 @@
#include "los_config.h"
#include "los_context.h"
#if (LOSCFG_MPU_ENABLE == 1)
#define SIZE_4G_BYTE 0x100000000
#define MPU_MAX_REGION_NUM 8
......@@ -233,4 +234,4 @@ INT32 HalMpuUnusedRegionGet(VOID)
return id;
}
}
#endif
......@@ -765,6 +765,14 @@ extern UINT8 *m_aucSysMem0;
#define LOSCFG_SECURE_STACK_DEFAULT_SIZE 512
#endif
/**
* @ingroup los_config
* Configuration item for mpu.
*/
#ifndef LOSCFG_MPU_ENABLE
#define LOSCFG_MPU_ENABLE 0
#endif
#ifdef __cplusplus
#if __cplusplus
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册