procedure Partition_Get_Buffer ( ID : in RTEMS.ID; Buffer : out RTEMS.Address; Result : out RTEMS.Status_Codes );
RTEMS.SUCCESSFUL
- buffer obtained successfully
RTEMS.INVALID_ID
- invalid partition id
RTEMS.UNSATISFIED
- all buffers are allocated
This directive allows a buffer to be obtained from the partition specified in id. The address of the allocated buffer is returned in buffer.
This directive will not cause the running task to be preempted.
All buffers begin on a four byte boundary.
A task cannot wait on a buffer to become available.
Getting a buffer from a global partition which does not reside on the local node will generate a request telling the remote node to allocate a buffer from the specified partition.
Copyright © 1988-2004 OAR Corporation