diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-22 08:36:48 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-03 10:22:46 +0200 |
commit | 42ec363ae0d2af3810ab5de4127cee4d76fbacd6 (patch) | |
tree | 3c746c86d3fec3f21fd964fb0c3bf45be796960b | |
parent | spec: Add /if/rtems/object/* (diff) | |
download | rtems-central-42ec363ae0d2af3810ab5de4127cee4d76fbacd6.tar.bz2 |
spec: Add /if/rtems/part/*
-rw-r--r-- | spec/groups/api/classic/part.yml | 18 | ||||
-rw-r--r-- | spec/if/rtems/part/create.yml | 50 | ||||
-rw-r--r-- | spec/if/rtems/part/delete.yml | 30 | ||||
-rw-r--r-- | spec/if/rtems/part/get-buffer.yml | 34 | ||||
-rw-r--r-- | spec/if/rtems/part/header.yml | 11 | ||||
-rw-r--r-- | spec/if/rtems/part/ident.yml | 38 | ||||
-rw-r--r-- | spec/if/rtems/part/return-buffer.yml | 34 |
7 files changed, 215 insertions, 0 deletions
diff --git a/spec/groups/api/classic/part.yml b/spec/groups/api/classic/part.yml new file mode 100644 index 00000000..8b72cc00 --- /dev/null +++ b/spec/groups/api/classic/part.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: API +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +description: | + The Partition Manager provides facilities to dynamically allocate memory in + fixed-size units. +enabled-by: true +identifier: RTEMSAPIClassicPart +interface-type: group +links: +- role: interface-placement + uid: /if/rtems/part/header +- role: interface-ingroup + uid: /groups/api/classic +name: Partition Manager +type: interface diff --git a/spec/if/rtems/part/create.yml b/spec/if/rtems/part/create.yml new file mode 100644 index 00000000..8ed33693 --- /dev/null +++ b/spec/if/rtems/part/create.yml @@ -0,0 +1,50 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/name:/name} ${.:/params[0]/name} + - void *${.:/params[1]/name} + - ${/if/c/uintptr_t:/name} ${.:/params[2]/name} + - ${/if/c/size_t:/name} ${.:/params[3]/name} + - ${../attr/attribute:/name} ${.:/params[4]/name} + - ${../types/id:/name} *${.:/params[5]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/part +name: rtems_partition_create +notes: null +params: +- description: '%' + dir: null + name: name +- description: '%' + dir: null + name: starting_address +- description: '%' + dir: null + name: length +- description: '%' + dir: null + name: buffer_size +- description: '%' + dir: null + name: attribute_set +- description: '%' + dir: null + name: id +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/part/delete.yml b/spec/if/rtems/part/delete.yml new file mode 100644 index 00000000..1df7d046 --- /dev/null +++ b/spec/if/rtems/part/delete.yml @@ -0,0 +1,30 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/part +name: rtems_partition_delete +notes: null +params: +- description: '%' + dir: null + name: id +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/part/get-buffer.yml b/spec/if/rtems/part/get-buffer.yml new file mode 100644 index 00000000..4b92c809 --- /dev/null +++ b/spec/if/rtems/part/get-buffer.yml @@ -0,0 +1,34 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + - void **${.:/params[1]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/part +name: rtems_partition_get_buffer +notes: null +params: +- description: '%' + dir: null + name: id +- description: '%' + dir: null + name: buffer +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/part/header.yml b/spec/if/rtems/part/header.yml new file mode 100644 index 00000000..52671a7d --- /dev/null +++ b/spec/if/rtems/part/header.yml @@ -0,0 +1,11 @@ +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-type: header-file +links: +- role: interface-placement + uid: /if/domains/api +path: rtems/rtems/part.h +prefix: cpukit/include +type: interface diff --git a/spec/if/rtems/part/ident.yml b/spec/if/rtems/part/ident.yml new file mode 100644 index 00000000..25f3db2d --- /dev/null +++ b/spec/if/rtems/part/ident.yml @@ -0,0 +1,38 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/name:/name} ${.:/params[0]/name} + - ${/if/c/uint32_t:/name} ${.:/params[1]/name} + - ${../types/id:/name} *${.:/params[2]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/part +name: rtems_partition_ident +notes: null +params: +- description: '%' + dir: null + name: name +- description: '%' + dir: null + name: node +- description: '%' + dir: null + name: id +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/part/return-buffer.yml b/spec/if/rtems/part/return-buffer.yml new file mode 100644 index 00000000..e2ebd9f2 --- /dev/null +++ b/spec/if/rtems/part/return-buffer.yml @@ -0,0 +1,34 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: '%' +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +definition: + default: + body: null + params: + - ${../types/id:/name} ${.:/params[0]/name} + - void *${.:/params[1]/name} + return: ${../status/code:/name} + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/part +name: rtems_partition_return_buffer +notes: null +params: +- description: '%' + dir: null + name: id +- description: '%' + dir: null + name: buffer +return: + return: null + return-values: [] +type: interface |