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

Last change on this file was 940b7ea6, checked in by Sebastian Huber <sebastian.huber@…>, on 05/19/23 at 05:26:09

Update company name

The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.

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