RTEMS | cpukit: Create DHRL Library for DRAM Latency Mitigation (!1193)

Gedare Bloom (@gedare) gitlab at rtems.org
Fri May 22 14:21:47 UTC 2026




Gedare Bloom commented on a discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150816

 > +    dhrl_worker_loop,
 > +    (rtems_task_argument) ctx
 > +  );
 > +
 > +  dhrl_calibrate_interleave( ctx );
 > +
 > +  return RTEMS_SUCCESSFUL;
 > +}
 > +
 > +/* Execution */
 > +rtems_status_code dhrl_run_loop( void )
 > +{
 > +  struct dhrl_control *ctx = &dhrl_instance;
 > +
 > +  if ( ctx->worker_a_id == RTEMS_ID_NONE ) {
 > +    return RTEMS_NOT_CONFIGURED;

This is better, but `RTEMS_NOT_CONFIGURED` is not a valid error code. It should be from interr.h `Internal_errors_Core_list`.

You might also use `rtems_fatal()` instead, to set an explicit fatal source.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150816
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/20260522/1abb31c3/attachment-0001.htm>


More information about the bugs mailing list