summaryrefslogtreecommitdiffstats
path: root/spec/rtems/scheduler/if/get-processor-maximum.yml
blob: 9c5c4f986abaf4e6d686935902c346de951c1050 (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
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, 2020 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default: ${/score/smp/if/get-processor-maximum:/name}()
  variants: []
description: |
  In uniprocessor configurations, this macro evaluates to a compile time
  constant of one.

  In SMP configurations, this macro returns the minimum of the processors
  (physically or virtually) available by the platform and the configured
  processor maximum.  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
interface-type: macro
links:
- role: interface-placement
  uid: ../../task/if/header
- role: interface-ingroup
  uid: ../../task/if/group
name: rtems_scheduler_get_processor_maximum
notes: null
params: []
return:
  return: |
    The processor maximum supported by the system is returned.
  return-values: []
type: interface