Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Initial Version and Version 1 of Ticket #3070


Ignore:
Timestamp:
07/11/17 08:21:56 (7 years ago)
Author:
Sebastian Huber
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3070 – Description

    initial v1  
    11{{{
    22/**
    3  * @brief Gets the set of processors owned by the specified scheduler instance.
     3 * @brief Identifies a scheduler by a processor set.
    44 *
    5  * @param[in] scheduler_id Identifier of the scheduler instance.
     5 * The scheduler is selected according to the highest numbered online processor
     6 * in the specified processor set.
     7 *
    68 * @param[in] cpusetsize Size of the specified processor set buffer in
    7  * bytes.  This value must be positive.
    8  * @param[out] cpuset The processor set owned by the scheduler.  A set bit in
    9  * the processor set means that this processor is owned by the scheduler and a
    10  * cleared bit means the opposite.
     9 *   bytes.  This value must be positive.
     10 * @param[out] cpuset The processor set to identify the scheduler.
     11 * @param[out] id The scheduler identifier associated with the processor set.
    1112 *
    1213 * @retval RTEMS_SUCCESSFUL Successful operation.
    13  * @retval RTEMS_INVALID_ADDRESS The @a cpuset parameter is @c NULL.
    14  * @retval RTEMS_INVALID_ID Invalid scheduler instance identifier.
    15  * @retval RTEMS_INVALID_NUMBER The processor set buffer is too small for the
    16  * set of processors owned by the scheduler.
     14 * @retval RTEMS_INVALID_ADDRESS The @a id parameter is @c NULL.
     15 * @retval RTEMS_INVALID_SIZE Invalid processor set size.
     16 * @retval RTEMS_INVALID_NAME The processor set contains no online processor.
     17 * @retval RTEMS_INCORRECT_STATE The processor set is valid, however, the
     18 *   highest numbered online processor in the specified processor set is not
     19 *   owned by a scheduler.
    1720 */
    18 rtems_status_code rtems_scheduler_get_processor_set(
    19   rtems_id   scheduler_id,
     21rtems_status_code rtems_scheduler_ident_by_processor_set(
    2022  size_t     cpusetsize,
    21   cpu_set_t *cpuset
     23  cpu_set_t *cpuset,
     24  rtems_id  *id
    2225);
    2326}}}