RTEMS | Arm PMSA improvements (!287)

Sebastian Huber (@sebhub) gitlab at rtems.org
Mon Nov 4 00:23:30 UTC 2024




Sebastian Huber started a new discussion on cpukit/score/cpu/arm/include/rtems/score/armv7-pmsa.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/287#note_114266

 > +
 > +  rsr = _ARMV7_Read_drsr();
 > +
 > +  if ((rsr & ARMV7_RSR_EN) == 0) {
 > +    return true;
 > +  }
 > +
 > +  return false;
 > +}
 > +
 > +ARMV7_PMSA_TEXT_SECTION static inline uint32_t _ARMV7_PMSA_Find_empty_region(
 > +  void
 > +)
 > +{
 > +  uint32_t region_count = _ARMV7_PMSA_Get_max_regions();
 > +  int index;

`int` type is not in line with the parameter type, should be `uint32_t`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/287#note_114266
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/cf65cd07/attachment-0001.htm>


More information about the bugs mailing list