RTEMS | cpukit: Create DHRL Library for DRAM Latency Mitigation (!1193)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed May 20 20:48:38 UTC 2026
Gedare Bloom started a new discussion on cpukit/include/rtems/dhrl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150611
> +#include <stdint.h>
> +#include <rtems/bspIo.h>
> +
> +#ifdef __cplusplus
> +extern "C" {
> +#endif
> +
> +/* Debugging Only */
> +#if defined( RTEMS_DEBUG )
> + #define dhrl_debug_printk( fmt, ... ) \
> + printk( "[DHRL] " fmt, ##__VA_ARGS__ )
> +#else
> + #define dhrl_debug_printk( fmt, ... ) \
> + do { \
> + } while ( 0 )
> +#endif
I would not put these in the header file, just locate it in the source (if you keep it).
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150611
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/efb06933/attachment.htm>
More information about the bugs
mailing list