summaryrefslogtreecommitdiffstats
path: root/spec/rtems/task
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-02 10:37:22 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-02 13:27:38 +0200
commit229140b17940a9f43607dc1312826a0b1d0cc1cf (patch)
treee38c90e9aa5c3a987d8967f6983ff2d1d71b3994 /spec/rtems/task
parentspec: Add score interfaces to groups (diff)
downloadrtems-central-229140b17940a9f43607dc1312826a0b1d0cc1cf.tar.bz2
spec: Move Classic API maximum priority item
Diffstat (limited to 'spec/rtems/task')
-rw-r--r--spec/rtems/task/if/maximum-priority-impl.yml26
-rw-r--r--spec/rtems/task/if/maximum-priority.yml2
-rw-r--r--spec/rtems/task/req/maximum-priority.yml2
3 files changed, 29 insertions, 1 deletions
diff --git a/spec/rtems/task/if/maximum-priority-impl.yml b/spec/rtems/task/if/maximum-priority-impl.yml
new file mode 100644
index 00000000..f690d6ec
--- /dev/null
+++ b/spec/rtems/task/if/maximum-priority-impl.yml
@@ -0,0 +1,26 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+brief: |
+ Returns the maximum priority of the scheduler with index zero.
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+definition:
+ default:
+ attributes: null
+ body: null
+ params: []
+ return: ${/rtems/type/if/priority:/name}
+ variants: []
+description: null
+enabled-by: true
+index-entries: []
+interface-type: function
+links:
+- role: interface-placement
+ uid: /rtems/task/if/header
+- role: interface-ingroup
+ uid: ../req/group
+name: _RTEMS_Maximum_priority
+notes: null
+params: []
+return: null
+type: interface
diff --git a/spec/rtems/task/if/maximum-priority.yml b/spec/rtems/task/if/maximum-priority.yml
index 5e583fbb..cc929ad2 100644
--- a/spec/rtems/task/if/maximum-priority.yml
+++ b/spec/rtems/task/if/maximum-priority.yml
@@ -6,7 +6,7 @@ copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
- Copyright (C) 1988, 2017 On-Line Applications Research Corporation (OAR)
definition:
- default: ${/score/if/maximum-priority:/name}()
+ default: ${maximum-priority-impl:/name}()
variants: []
description: null
enabled-by: true
diff --git a/spec/rtems/task/req/maximum-priority.yml b/spec/rtems/task/req/maximum-priority.yml
index 73096f6c..8821e3d0 100644
--- a/spec/rtems/task/req/maximum-priority.yml
+++ b/spec/rtems/task/req/maximum-priority.yml
@@ -5,6 +5,8 @@ enabled-by: true
links:
- role: interface-function
uid: ../if/maximum-priority
+- role: interface-function
+ uid: ../if/maximum-priority-impl
functional-type: function
rationale: null
references: []