Changeset 8476715a in rtems


Ignore:
Timestamp:
Jun 1, 2021, 9:25:24 AM (2 months ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
master
Children:
b47dbbc5
Parents:
5ad17be9
git-author:
Christian Mauderer <christian.mauderer@…> (06/01/21 09:25:24)
git-committer:
Christian Mauderer <christian.mauderer@…> (06/21/21 14:11:36)
Message:

cpu/armv7m: Fix initialization of MPU regions

The write to RBAR didn't have the valid flag set. Therefore the write to
RASR had an influence on the previously set region. That means for
example that if Region 0 had been enabled but 1 should be disabled due
to a size of 0, the previous code would have disabled region 0 instead.

This patch fixes that behaviour.

Close #4450

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.