RTEMS | Draft: cpukit: Create DHRL Library for DRAM Latency Mitigation (!1193)
Wayne Thornton (@wmthornton-dev)
gitlab at rtems.org
Sat Apr 11 00:38:55 UTC 2026
Wayne Thornton commented on a discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_148424
> + }
> +
> + // Initialize Worker A
> + sc = rtems_task_create(
> + rtems_build_name( 'D', 'H', 'R', 'A' ),
> + priority,
> + RTEMS_MINIMUM_STACK_SIZE,
> + RTEMS_DEFAULT_MODES,
> + RTEMS_DEFAULT_ATTRIBUTES,
> + &dhrl_worker_a_id
> + );
> + if ( sc != RTEMS_SUCCESSFUL ) {
> + return sc;
> + }
> +
> + CPU_ZERO( &cpuset );
So it appears that adding the pre-processor macro broke the build and I was compiling an empty libdhrl.a. Removing the macro allowed the libdhrl.a to populate. I was thinking about it, and the libdhrl.yml file specifies that RTEMS_SMP is required to enable and build, so a pre-processer macro shouldn't be needed?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_148424
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/20260411/fbf316e7/attachment-0001.htm>
More information about the bugs
mailing list