mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-26 12:27:11 +08:00
score: Add debug support to chains
This helps to detect * double insert, append, prepend errors, and * get from empty chain errors.
This commit is contained in:
@@ -194,6 +194,7 @@ void rtems_printer_task_drain( rtems_printer_task_context *ctx )
|
||||
{
|
||||
printer_task_buffer buffer;
|
||||
|
||||
rtems_chain_initialize_node( &buffer.node );
|
||||
buffer.action_kind = ACTION_DRAIN;
|
||||
buffer.action_data.task = rtems_task_self();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user