Reset a partition and region
Rolf.Schroedter at dlr.de
Mon Oct 11 11:59:20 UTC 2004
During the RTEMS school in Munich (thanks to Joel for his wunderful
presentation) we have discussed the following (real) application:
TASK-A allocates buffers/segments from a partition/region, fills the
memory with data and send messages (address,size) to a message queue.
TASK-B reads the messages queue and returns buffers/segments to the
For an application reset all data should be cleared.
The message queue can be cleared with message_queue_flush(),
but unfortunately the partition/region cannot be cleared so easily.
They even cannot be deleted and recreated, as long there are
All that can be done now is to manually read out the message queue
and return all buffers/segments.
It would really be a big simplification to have the possibility
to reset (clear) partitions and regions:
rtems_region_reset( rtems_id id );
rtems_partition_reset( rtems_id id );
German Aerospace Center
Institute of Planetary Research
More information about the users