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

Gedare Bloom (@gedare) gitlab at rtems.org
Wed May 20 20:46:54 UTC 2026




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

 > +    return RTEMS_INVALID_SIZE;
 > +  }
 > +
 > +  if (
 > +    ctx->worker_a_id != RTEMS_ID_NONE || ctx->worker_b_id != RTEMS_ID_NONE
 > +  ) {
 > +    return RTEMS_RESOURCE_IN_USE;
 > +  }
 > +
 > +  ctx->active_config = *config;
 > +  atomic_init( &ctx->active_epoch, 0 );
 > +  atomic_init( &ctx->completed_epoch, 0 );
 > +  atomic_init( &ctx->winning_data_ptr, (uintptr_t) NULL );
 > +  rtems_mutex_init( &ctx->mutex, "DHRM" );
 > +
 > +  sc = rtems_task_create(

The required resources for this library should be picked up through confdefs. You should add some new macro(s) such as `CONFIGURE_APPLICATION_NEEDS_DHRL` or something.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150590
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/20260520/fa6dd82f/attachment-0001.htm>


More information about the bugs mailing list