summaryrefslogtreecommitdiffstats
path: root/spec/acfg/constraint/scheduler-assignments-macros.yml
blob: 3bd90cca07bdfea08c56ab980db1765038e6d514 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020, 2022 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
links:
- role: requirement-refinement
  uid: /req/usage-constraints
rationale: null
text: |
  The value of the application configuration option shall be a list of the
  following macros:

  * ``RTEMS_SCHEDULER_ASSIGN( scheduler_index, attributes )``

  * ``RTEMS_SCHEDULER_ASSIGN_NO_SCHEDULER``

  The ``scheduler_index`` macro parameter shall be a valid index of the
  scheduler table defined by the ${../if/scheduler-table-entries:/name}
  application configuration option.

  The ``attributes`` macro parameter shall be set to exactly one of the
  following constants:

  * ``RTEMS_SCHEDULER_ASSIGN_PROCESSOR_MANDATORY``

  * ``RTEMS_SCHEDULER_ASSIGN_PROCESSOR_OPTIONAL``
type: constraint