source: rtems-central/spec/rtems/part/if/return-buffer.yml @ 0500b9a

Last change on this file since 0500b9a was 0500b9a, checked in by Sebastian Huber <sebastian.huber@…>, on 12/01/20 at 13:23:41

interface/interfacedoc: Format parameter names

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[42ec363]1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
[74a75d8]2brief: |
[b77b781]3  Returns the buffer to the partition.
[42ec363]4copyrights:
5- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
6- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
7definition:
8  default:
[d3edaca]9    attributes: null
[42ec363]10    body: null
11    params:
[3bdf817]12    - ${../../type/if/id:/name} ${.:/params[0]/name}
[42ec363]13    - void *${.:/params[1]/name}
[3bdf817]14    return: ${../../status/if/code:/name}
[42ec363]15  variants: []
[74a75d8]16description: |
[0500b9a]17  This directive returns the buffer specified by ${.:/params[1]/name} to the
18  partition specified by ${.:/params[0]/name}.
[42ec363]19enabled-by: true
[74a75d8]20index-entries:
21- return buffer to partition
[42ec363]22interface-type: function
23links:
24- role: interface-placement
25  uid: header
26- role: interface-ingroup
[cead53e]27  uid: group
[42ec363]28name: rtems_partition_return_buffer
[74a75d8]29notes: |
30  This directive will not cause the running task to be preempted.
31
32  Returning a buffer to a global partition which does not reside on the local
33  node will generate a request telling the remote node to return the buffer to
[b77b781]34  the partition.
[74a75d8]35
36  Returning a buffer multiple times is an error.  It will corrupt the internal
37  state of the partition.
[42ec363]38params:
[74a75d8]39- description: is the partition identifier.
[42ec363]40  dir: null
41  name: id
[74a75d8]42- description: is the pointer to the buffer to return.
[42ec363]43  dir: null
44  name: buffer
45return:
46  return: null
[74a75d8]47  return-values:
48  - description: |
49      The requested operation was successful.
50    value: ${../../status/if/successful:/name}
51  - description: |
52      There was no partition with the specified identifier.
53    value: ${../../status/if/invalid-id:/name}
54  - description: |
[0500b9a]55      The buffer referenced by ${.:/params[1]/name} was not in the
[74a75d8]56      partition.
57    value: ${../../status/if/invalid-address:/name}
[42ec363]58type: interface
Note: See TracBrowser for help on using the repository browser.