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

Wayne Thornton (@wmthornton-dev) gitlab at rtems.org
Wed May 20 21:01:06 UTC 2026




Wayne Thornton commented on a discussion on cpukit/include/rtems/dhrl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150631

 > +
 > +#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
 > +
 > +/* User Callbacks */

I looked at the `regulator.h` source and agree that a through doxygen of this type is needed. To be honest, I was unsure of whether this type of in-depth documentation was allowed, but seeing how it was done gives me the insight needed for this API.

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


More information about the bugs mailing list