summaryrefslogtreecommitdiffstats
path: root/spec/rtems/scheduler/if/get-processor-maximum.yml
blob: aa88d6c3524150b283c754ef48a6458ac377837b (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Returns the processor maximum supported by the system.
copyrights:
- Copyright (C) 2013, 2021 embedded brains GmbH & Co. KG
definition:
  default:
    attributes: null
    body: null
    params: []
    return: ${/c/if/uint32_t:/name}
  variants: []
description: |
  Where the system was built with SMP support disabled, this directive
  evaluates to a compile time constant of one.

  Where the system was built with SMP support enabled, this directive returns
  the minimum of the processors (physically or virtually) available at the
  ${/glossary/target:/term} and the configured processor maximum
  (see ${/acfg/if/max-processors:/name}).  Not all processors in the range from
  processor index zero to the last processor index (which is the processor
  maximum minus one) may be configured to be used by a scheduler or may be
  online (online processors have a scheduler assigned).
enabled-by: true
index-entries: []
interface-type: function
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
- role: constraint
  uid: /constraint/directive-ctx-any
- role: constraint
  uid: /constraint/directive-no-preempt
name: rtems_scheduler_get_processor_maximum
notes: null
params: []
return:
  return: |
    Returns the processor maximum supported by the system.
  return-values: []
type: interface