[RTEMS Project] #4450: cpu/armv7m: MPU initialized incorrect

RTEMS trac trac at rtems.org
Mon Jun 21 14:12:47 UTC 2021


#4450: cpu/armv7m: MPU initialized incorrect
--------------------------------+---------------------------------
 Reporter:  Christian Mauderer  |       Owner:  Christian Mauderer
     Type:  defect              |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  bsps                |     Version:
 Severity:  normal              |  Resolution:  fixed
 Keywords:                      |  Blocked By:
 Blocking:                      |
--------------------------------+---------------------------------
Changes (by Christian Mauderer <christian.mauderer@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8476715a49073c913d44dadb9f57712e461450ee/rtems"
 8476715a/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="8476715a49073c913d44dadb9f57712e461450ee"
 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
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4450#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list