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_114290

 > +  uint32_t rsr;
 > +
 > +  if (index >= region_count) {
 > +    return false;
 > +  }
 > +
 > +  _ARMV7_Write_rgnr(ARMV7_RGNR_REGION(index));
 > +  _ARM_Instruction_synchronization_barrier();
 > +
 > +  rsr = _ARMV7_Read_drsr();
 > +
 > +  if ((rsr & ARMV7_RSR_EN) == 0) {
 > +    return true;
 > +  }
 > +
 > +  return false;

Done

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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to