From cae542a3541dc5e34d4cf36bc37967e09d0661e2 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 14 May 2020 08:29:58 +0200 Subject: spec: Add more interface specification items --- spec/if/rtems/config/get-maximum-processors.yml | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 spec/if/rtems/config/get-maximum-processors.yml (limited to 'spec/if/rtems/config/get-maximum-processors.yml') diff --git a/spec/if/rtems/config/get-maximum-processors.yml b/spec/if/rtems/config/get-maximum-processors.yml new file mode 100644 index 00000000..a52a6e23 --- /dev/null +++ b/spec/if/rtems/config/get-maximum-processors.yml @@ -0,0 +1,29 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +interface-brief: | + Returns the maximum number of processors which are configured for this + application. +interface-definition: + default: ${/if/impl/smp/processor-configured-maximum:/interface-name} + variants: [] +interface-description: null +interface-name: rtems_configuration_get_maximum_processors +interface-notes: | + The actual number of processors available for the application will be less + than or equal to the configured maximum number of processors. + + On uniprocessor configurations this macro is a compile time constant which + evaluates to one. +interface-params: [] +interface-return: + return: null + return-values: [] +interface-type: macro +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/config +type: interface -- cgit v1.2.3