RTEMS Logo

RTEMS 4.9.3 On-Line Library


Partition Manager Creating a Partition

PREV UP NEXT Bookshelf RTEMS C User's Guide

13.3.1: Creating a Partition

The rtems_partition_create directive creates a partition with a user-specified name. The partition's name, starting address, length and buffer size are all specified to the rtems_partition_create directive. RTEMS allocates a Partition Control Block (PTCB) from the PTCB free list. This data structure is used by RTEMS to manage the newly created partition. The number of buffers in the partition is calculated based upon the specified partition length and buffer size, and returned to the calling task along with a unique partition ID.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation