|
CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
|
Reset a cell to a singleton ring. More...
#include <linked_list.h>
Reset a cell to a singleton ring.
Not all cons cells are required to be able to do this, though if you're sticking to rings and not (ab)using the machinery here in interesting ways, this should be easy to specify.
This is a method, and not a constructor, to handle cases where the cell is also packing other state into its representation.
Definition at line 46 of file linked_list.h.