rtems_status_code rtems_region_extend( rtems_id id, void *starting_address, uint32_t length );
RTEMS_SUCCESSFUL
- region extended successfully
RTEMS_INVALID_ADDRESS
- starting_address
is NULL
RTEMS_INVALID_ID
- invalid region id
RTEMS_INVALID_ADDRESS
- invalid address of area to add
This directive adds the memory which starts at starting_address for length bytes to the region specified by id.
This directive will not cause the calling task to be preempted.
The calling task does not have to be the task that created the region. Any local task that knows the region id can extend the region.
Copyright © 1988-2008 OAR Corporation