RTEMS | Arm PMSA improvements (!287)

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Nov 4 23:17:45 UTC 2024




Kinsey Moore commented on a discussion on cpukit/score/cpu/arm/include/rtems/score/armv7-pmsa.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/287#note_114350

 > +  _Assert(index < _ARMV7_PMSA_Get_max_regions());
 > +
 > +  _ARMV7_Write_rgnr(ARMV7_RGNR_REGION(index));
 > +  _ARM_Instruction_synchronization_barrier();
 > +
 > +  return (_ARMV7_Read_drsr() & ARMV7_RSR_EN) != 0;
 > +}
 > +
 > +ARMV7_PMSA_TEXT_SECTION
 > +static inline uint32_t _ARMV7_PMSA_Find_available_region(void)
 > +{
 > +  uint32_t region_count = _ARMV7_PMSA_Get_max_regions();
 > +  uint32_t index;
 > +
 > +  for (index = 0; index < region_count; index++) {
 > +    if (_ARMV7_PMSA_Is_region_enabled(index) == false) {

Fixed in the latest push.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/287#note_114350
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241104/84addf6a/attachment-0001.htm>


More information about the bugs mailing list