Fixed PORT_USE_GUARD_MPU_REGION port option name.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13393 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
d9c9a2ccc3
commit
95d66ee7e4
|
@ -275,7 +275,7 @@ void port_init(void) {
|
||||||
|
|
||||||
/* Setting up the guard page on the main() function stack base
|
/* Setting up the guard page on the main() function stack base
|
||||||
initially.*/
|
initially.*/
|
||||||
mpuConfigureRegion(PORT_USE_MPU_REGION,
|
mpuConfigureRegion(PORT_USE_GUARD_MPU_REGION,
|
||||||
&__main_thread_stack_base__,
|
&__main_thread_stack_base__,
|
||||||
MPU_RASR_ATTR_AP_NA_NA |
|
MPU_RASR_ATTR_AP_NA_NA |
|
||||||
MPU_RASR_ATTR_NON_CACHEABLE |
|
MPU_RASR_ATTR_NON_CACHEABLE |
|
||||||
|
@ -298,7 +298,7 @@ void port_init(void) {
|
||||||
*/
|
*/
|
||||||
void _port_set_region(void) {
|
void _port_set_region(void) {
|
||||||
|
|
||||||
mpuSetRegionAddress(PORT_USE_MPU_REGION,
|
mpuSetRegionAddress(PORT_USE_GUARD_MPU_REGION,
|
||||||
chThdGetSelfX()->wabase);
|
chThdGetSelfX()->wabase);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue