[rtems-central commit] interface: Add parameters and return to typedefs

Sebastian Huber sebh at rtems.org
Wed Sep 15 06:02:35 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    4c2144fa755146002cac395ae4090e140795541e
Changeset: http://git.rtems.org/rtems-central/commit/?id=4c2144fa755146002cac395ae4090e140795541e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep  9 16:36:23 2021 +0200

interface: Add parameters and return to typedefs

---

 rtemsspec/interface.py                                 | 10 +++++++++-
 rtemsspec/tests/spec-interface/float_t.yml             |  2 ++
 rtemsspec/tests/spec-interface/td.yml                  |  2 ++
 rtemsspec/tests/spec-interface/td3.yml                 |  2 ++
 rtemsspec/tests/spec-interface/uint32_t.yml            |  2 ++
 spec/rtems/attr/if/attribute.yml                       |  2 ++
 spec/rtems/config/if/stack-allocate-hook.yml           |  2 ++
 spec/rtems/config/if/stack-allocate-init-hook.yml      |  2 ++
 spec/rtems/config/if/stack-free-hook.yml               |  2 ++
 spec/rtems/event/if/set.yml                            |  2 ++
 spec/rtems/fatal/if/exception-frame.yml                |  2 ++
 spec/rtems/intr/if/handler.yml                         |  2 ++
 spec/rtems/intr/if/isr-entry.yml                       |  2 ++
 spec/rtems/intr/if/isr.yml                             |  2 ++
 spec/rtems/intr/if/level.yml                           |  2 ++
 spec/rtems/intr/if/lock-context.yml                    |  2 ++
 spec/rtems/intr/if/lock.yml                            |  2 ++
 spec/rtems/intr/if/per-handler-routine.yml             |  2 ++
 spec/rtems/intr/if/vector-number.yml                   |  2 ++
 spec/rtems/io/if/bsp-output-char-function-type.yml     |  2 ++
 spec/rtems/io/if/bsp-polling-getchar-function-type.yml |  2 ++
 spec/rtems/io/if/device-driver-entry.yml               |  2 ++
 spec/rtems/io/if/device-driver.yml                     |  2 ++
 spec/rtems/io/if/device-major-number.yml               |  2 ++
 spec/rtems/io/if/device-minor-number.yml               |  2 ++
 spec/rtems/mode/if/mode.yml                            |  2 ++
 spec/rtems/option/if/option.yml                        |  2 ++
 spec/rtems/signal/if/asr-entry.yml                     |  2 ++
 spec/rtems/signal/if/asr.yml                           |  2 ++
 spec/rtems/signal/if/set.yml                           |  2 ++
 spec/rtems/task/if/argument.yml                        |  2 ++
 spec/rtems/task/if/entry.yml                           |  2 ++
 spec/rtems/task/if/task.yml                            |  2 ++
 spec/rtems/task/if/tcb.yml                             |  2 ++
 spec/rtems/task/if/visitor.yml                         |  2 ++
 spec/rtems/timer/if/service-routine-entry.yml          |  2 ++
 spec/rtems/timer/if/service-routine.yml                |  2 ++
 spec/rtems/type/if/id.yml                              |  2 ++
 spec/rtems/type/if/interval.yml                        |  2 ++
 spec/rtems/type/if/mp-packet-classes.yml               |  2 ++
 spec/rtems/type/if/mpci-entry.yml                      |  2 ++
 spec/rtems/type/if/mpci-get-packet-entry.yml           |  2 ++
 spec/rtems/type/if/mpci-initialization-entry.yml       |  2 ++
 spec/rtems/type/if/mpci-receive-packet-entry.yml       |  2 ++
 spec/rtems/type/if/mpci-return-packet-entry.yml        |  2 ++
 spec/rtems/type/if/mpci-send-packet-entry.yml          |  2 ++
 spec/rtems/type/if/mpci-table.yml                      |  2 ++
 spec/rtems/type/if/multiprocessing-table.yml           |  2 ++
 spec/rtems/type/if/name.yml                            |  2 ++
 spec/rtems/type/if/packet-prefix.yml                   |  2 ++
 spec/rtems/type/if/priority.yml                        |  2 ++
 spec/rtems/userext/if/fatal-code.yml                   |  2 ++
 spec/rtems/userext/if/fatal-source.yml                 |  2 ++
 spec/rtems/userext/if/fatal.yml                        |  2 ++
 spec/rtems/userext/if/table.yml                        |  2 ++
 spec/rtems/userext/if/task-begin.yml                   |  2 ++
 spec/rtems/userext/if/task-create.yml                  |  2 ++
 spec/rtems/userext/if/task-delete.yml                  |  2 ++
 spec/rtems/userext/if/task-exitted.yml                 |  2 ++
 spec/rtems/userext/if/task-restart.yml                 |  2 ++
 spec/rtems/userext/if/task-start.yml                   |  2 ++
 spec/rtems/userext/if/task-switch.yml                  |  2 ++
 spec/rtems/userext/if/task-terminate.yml               |  2 ++
 spec/spec/interface-typedef.yml                        |  6 ++++++
 64 files changed, 139 insertions(+), 1 deletion(-)

diff --git a/rtemsspec/interface.py b/rtemsspec/interface.py
index fa66fe8..7c303f3 100644
--- a/rtemsspec/interface.py
+++ b/rtemsspec/interface.py
@@ -216,6 +216,13 @@ def _get_register_name(definition: Dict[str, Any]) -> Tuple[str, str]:
     return name, alias
 
 
+_CONSTRAINT_TARGET = {
+    "interface/function": "this directive",
+    "interface/macro": "this directive",
+    "interface/typedef": "functions of this type",
+}
+
+
 class Node:
     """ Nodes of a header file. """
 
@@ -609,9 +616,10 @@ class Node:
             ]
             if constraints:
                 constraint_content = CContent()
+                target = _CONSTRAINT_TARGET[item.type]
                 constraint_content.add_list(
                     constraints,
-                    "The following constraints apply to this directive:")
+                    f"The following constraints apply to {target}:")
                 content.add_paragraph("Constraints", constraint_content)
         return content
 
diff --git a/rtemsspec/tests/spec-interface/float_t.yml b/rtemsspec/tests/spec-interface/float_t.yml
index 9161c2a..24f009b 100644
--- a/rtemsspec/tests/spec-interface/float_t.yml
+++ b/rtemsspec/tests/spec-interface/float_t.yml
@@ -8,4 +8,6 @@ links:
 - role: interface-placement
   uid: math
 name: float_t
+params: []
+return: null
 type: interface
diff --git a/rtemsspec/tests/spec-interface/td.yml b/rtemsspec/tests/spec-interface/td.yml
index d803ce4..e4f5cb2 100644
--- a/rtemsspec/tests/spec-interface/td.yml
+++ b/rtemsspec/tests/spec-interface/td.yml
@@ -19,4 +19,6 @@ links:
   uid: h
 name: Integer
 notes: null
+params: []
+return: null
 type: interface
diff --git a/rtemsspec/tests/spec-interface/td3.yml b/rtemsspec/tests/spec-interface/td3.yml
index 1b78d7b..b1ef162 100644
--- a/rtemsspec/tests/spec-interface/td3.yml
+++ b/rtemsspec/tests/spec-interface/td3.yml
@@ -19,4 +19,6 @@ links:
   uid: gb
 name: Integer3
 notes: null
+params: []
+return: null
 type: interface
diff --git a/rtemsspec/tests/spec-interface/uint32_t.yml b/rtemsspec/tests/spec-interface/uint32_t.yml
index c77d95d..3fffa0c 100644
--- a/rtemsspec/tests/spec-interface/uint32_t.yml
+++ b/rtemsspec/tests/spec-interface/uint32_t.yml
@@ -10,4 +10,6 @@ links:
 - role: interface-placement
   uid: stdint
 name: uint32_t
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/attr/if/attribute.yml b/spec/rtems/attr/if/attribute.yml
index b6b30e0..4294106 100644
--- a/spec/rtems/attr/if/attribute.yml
+++ b/spec/rtems/attr/if/attribute.yml
@@ -19,4 +19,6 @@ links:
 name: rtems_attribute
 notes: |
   Attributes are primarily used when creating objects.
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/config/if/stack-allocate-hook.yml b/spec/rtems/config/if/stack-allocate-hook.yml
index e9c4539..b0885c2 100644
--- a/spec/rtems/config/if/stack-allocate-hook.yml
+++ b/spec/rtems/config/if/stack-allocate-hook.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_stack_allocate_hook
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/config/if/stack-allocate-init-hook.yml b/spec/rtems/config/if/stack-allocate-init-hook.yml
index d6ee132..fa5fbba 100644
--- a/spec/rtems/config/if/stack-allocate-init-hook.yml
+++ b/spec/rtems/config/if/stack-allocate-init-hook.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_stack_allocate_init_hook
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/config/if/stack-free-hook.yml b/spec/rtems/config/if/stack-free-hook.yml
index d31a2cf..0c38224 100644
--- a/spec/rtems/config/if/stack-free-hook.yml
+++ b/spec/rtems/config/if/stack-free-hook.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_stack_free_hook
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/event/if/set.yml b/spec/rtems/event/if/set.yml
index 6615dfd..d642848 100644
--- a/spec/rtems/event/if/set.yml
+++ b/spec/rtems/event/if/set.yml
@@ -19,4 +19,6 @@ links:
   uid: group
 name: rtems_event_set
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/fatal/if/exception-frame.yml b/spec/rtems/fatal/if/exception-frame.yml
index 0aaced3..bde0a3c 100644
--- a/spec/rtems/fatal/if/exception-frame.yml
+++ b/spec/rtems/fatal/if/exception-frame.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_exception_frame
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/intr/if/handler.yml b/spec/rtems/intr/if/handler.yml
index 44cb85f..0085fbd 100644
--- a/spec/rtems/intr/if/handler.yml
+++ b/spec/rtems/intr/if/handler.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_interrupt_handler
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/intr/if/isr-entry.yml b/spec/rtems/intr/if/isr-entry.yml
index 1c084f8..28fc74e 100644
--- a/spec/rtems/intr/if/isr-entry.yml
+++ b/spec/rtems/intr/if/isr-entry.yml
@@ -20,4 +20,6 @@ links:
   uid: group
 name: rtems_isr_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/intr/if/isr.yml b/spec/rtems/intr/if/isr.yml
index e095224..d5e1e97 100644
--- a/spec/rtems/intr/if/isr.yml
+++ b/spec/rtems/intr/if/isr.yml
@@ -20,4 +20,6 @@ links:
   uid: group
 name: rtems_isr
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/intr/if/level.yml b/spec/rtems/intr/if/level.yml
index 0f69faf..be24569 100644
--- a/spec/rtems/intr/if/level.yml
+++ b/spec/rtems/intr/if/level.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_interrupt_level
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/intr/if/lock-context.yml b/spec/rtems/intr/if/lock-context.yml
index 10ddbf7..a540a6f 100644
--- a/spec/rtems/intr/if/lock-context.yml
+++ b/spec/rtems/intr/if/lock-context.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_interrupt_lock_context
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/intr/if/lock.yml b/spec/rtems/intr/if/lock.yml
index 3d30cca..7ae02f5 100644
--- a/spec/rtems/intr/if/lock.yml
+++ b/spec/rtems/intr/if/lock.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_interrupt_lock
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/intr/if/per-handler-routine.yml b/spec/rtems/intr/if/per-handler-routine.yml
index 3204b76..75cad4c 100644
--- a/spec/rtems/intr/if/per-handler-routine.yml
+++ b/spec/rtems/intr/if/per-handler-routine.yml
@@ -24,4 +24,6 @@ links:
   uid: group
 name: rtems_interrupt_per_handler_routine
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/intr/if/vector-number.yml b/spec/rtems/intr/if/vector-number.yml
index 5b7f5b2..0395c8e 100644
--- a/spec/rtems/intr/if/vector-number.yml
+++ b/spec/rtems/intr/if/vector-number.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_vector_number
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/io/if/bsp-output-char-function-type.yml b/spec/rtems/io/if/bsp-output-char-function-type.yml
index 183a034..f1172a5 100644
--- a/spec/rtems/io/if/bsp-output-char-function-type.yml
+++ b/spec/rtems/io/if/bsp-output-char-function-type.yml
@@ -17,4 +17,6 @@ links:
   uid: group-3
 name: BSP_output_char_function_type
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/io/if/bsp-polling-getchar-function-type.yml b/spec/rtems/io/if/bsp-polling-getchar-function-type.yml
index 47df4c7..b6b2b84 100644
--- a/spec/rtems/io/if/bsp-polling-getchar-function-type.yml
+++ b/spec/rtems/io/if/bsp-polling-getchar-function-type.yml
@@ -17,4 +17,6 @@ links:
   uid: group-3
 name: BSP_polling_getchar_function_type
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/io/if/device-driver-entry.yml b/spec/rtems/io/if/device-driver-entry.yml
index a5ec7e3..523138c 100644
--- a/spec/rtems/io/if/device-driver-entry.yml
+++ b/spec/rtems/io/if/device-driver-entry.yml
@@ -23,4 +23,6 @@ links:
   uid: group
 name: rtems_device_driver_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/io/if/device-driver.yml b/spec/rtems/io/if/device-driver.yml
index 8f50979..59bcfa6 100644
--- a/spec/rtems/io/if/device-driver.yml
+++ b/spec/rtems/io/if/device-driver.yml
@@ -21,4 +21,6 @@ notes: |
   Device driver entries return an ${../../status/if/code:/name} status code.
   This type definition helps to document device driver entries in the source
   code.
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/io/if/device-major-number.yml b/spec/rtems/io/if/device-major-number.yml
index 6b38d11..18fe79e 100644
--- a/spec/rtems/io/if/device-major-number.yml
+++ b/spec/rtems/io/if/device-major-number.yml
@@ -20,4 +20,6 @@ name: rtems_device_major_number
 notes: |
   The major number of a device is determined by ${register-driver:/name} and
   the application configuration (see ${/acfg/if/max-drivers:/name}) .
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/io/if/device-minor-number.yml b/spec/rtems/io/if/device-minor-number.yml
index c000fac..040922a 100644
--- a/spec/rtems/io/if/device-minor-number.yml
+++ b/spec/rtems/io/if/device-minor-number.yml
@@ -19,4 +19,6 @@ links:
 name: rtems_device_minor_number
 notes: |
   The minor number of devices is managed by the device driver.
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/mode/if/mode.yml b/spec/rtems/mode/if/mode.yml
index a182448..9568d96 100644
--- a/spec/rtems/mode/if/mode.yml
+++ b/spec/rtems/mode/if/mode.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_mode
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/option/if/option.yml b/spec/rtems/option/if/option.yml
index 1ca11f0..79a6bf0 100644
--- a/spec/rtems/option/if/option.yml
+++ b/spec/rtems/option/if/option.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_option
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/signal/if/asr-entry.yml b/spec/rtems/signal/if/asr-entry.yml
index 92f7de0..82cc4d6 100644
--- a/spec/rtems/signal/if/asr-entry.yml
+++ b/spec/rtems/signal/if/asr-entry.yml
@@ -22,4 +22,6 @@ links:
   uid: group
 name: rtems_asr_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/signal/if/asr.yml b/spec/rtems/signal/if/asr.yml
index 3ea5232..ea70c13 100644
--- a/spec/rtems/signal/if/asr.yml
+++ b/spec/rtems/signal/if/asr.yml
@@ -21,4 +21,6 @@ name: rtems_asr
 notes: |
   This type can be used to document asynchronous signal routines in the source
   code.
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/signal/if/set.yml b/spec/rtems/signal/if/set.yml
index 30b743c..4a12ec2 100644
--- a/spec/rtems/signal/if/set.yml
+++ b/spec/rtems/signal/if/set.yml
@@ -19,4 +19,6 @@ links:
   uid: group
 name: rtems_signal_set
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/task/if/argument.yml b/spec/rtems/task/if/argument.yml
index 8391c08..85efb30 100644
--- a/spec/rtems/task/if/argument.yml
+++ b/spec/rtems/task/if/argument.yml
@@ -19,4 +19,6 @@ name: rtems_task_argument
 notes: |
   The type is an architecture-specific unsigned integer type which is large
   enough to represent pointer values and 32-bit unsigned integers.
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/task/if/entry.yml b/spec/rtems/task/if/entry.yml
index 8b8ec81..5df0c2c 100644
--- a/spec/rtems/task/if/entry.yml
+++ b/spec/rtems/task/if/entry.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_task_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/task/if/task.yml b/spec/rtems/task/if/task.yml
index 951d166..7841d3b 100644
--- a/spec/rtems/task/if/task.yml
+++ b/spec/rtems/task/if/task.yml
@@ -19,4 +19,6 @@ links:
   uid: group
 name: rtems_task
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/task/if/tcb.yml b/spec/rtems/task/if/tcb.yml
index 9883174..e94997c 100644
--- a/spec/rtems/task/if/tcb.yml
+++ b/spec/rtems/task/if/tcb.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_tcb
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/task/if/visitor.yml b/spec/rtems/task/if/visitor.yml
index 6a417a6..9682b7f 100644
--- a/spec/rtems/task/if/visitor.yml
+++ b/spec/rtems/task/if/visitor.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_task_visitor
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/timer/if/service-routine-entry.yml b/spec/rtems/timer/if/service-routine-entry.yml
index 02378cf..fbf9d87 100644
--- a/spec/rtems/timer/if/service-routine-entry.yml
+++ b/spec/rtems/timer/if/service-routine-entry.yml
@@ -20,4 +20,6 @@ links:
   uid: group
 name: rtems_timer_service_routine_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/timer/if/service-routine.yml b/spec/rtems/timer/if/service-routine.yml
index c376d9e..45f10bd 100644
--- a/spec/rtems/timer/if/service-routine.yml
+++ b/spec/rtems/timer/if/service-routine.yml
@@ -20,4 +20,6 @@ links:
   uid: group
 name: rtems_timer_service_routine
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/id.yml b/spec/rtems/type/if/id.yml
index 474dccc..cc32007 100644
--- a/spec/rtems/type/if/id.yml
+++ b/spec/rtems/type/if/id.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_id
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/interval.yml b/spec/rtems/type/if/interval.yml
index bb53b98..ab54d3b 100644
--- a/spec/rtems/type/if/interval.yml
+++ b/spec/rtems/type/if/interval.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_interval
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/mp-packet-classes.yml b/spec/rtems/type/if/mp-packet-classes.yml
index 82ba1ce..bd99843 100644
--- a/spec/rtems/type/if/mp-packet-classes.yml
+++ b/spec/rtems/type/if/mp-packet-classes.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_mp_packet_classes
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/mpci-entry.yml b/spec/rtems/type/if/mpci-entry.yml
index 91279ee..4101201 100644
--- a/spec/rtems/type/if/mpci-entry.yml
+++ b/spec/rtems/type/if/mpci-entry.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_mpci_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/mpci-get-packet-entry.yml b/spec/rtems/type/if/mpci-get-packet-entry.yml
index 6df98dd..67532ec 100644
--- a/spec/rtems/type/if/mpci-get-packet-entry.yml
+++ b/spec/rtems/type/if/mpci-get-packet-entry.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_mpci_get_packet_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/mpci-initialization-entry.yml b/spec/rtems/type/if/mpci-initialization-entry.yml
index 169de42..56cd9e2 100644
--- a/spec/rtems/type/if/mpci-initialization-entry.yml
+++ b/spec/rtems/type/if/mpci-initialization-entry.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_mpci_initialization_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/mpci-receive-packet-entry.yml b/spec/rtems/type/if/mpci-receive-packet-entry.yml
index a748dc1..41a5d00 100644
--- a/spec/rtems/type/if/mpci-receive-packet-entry.yml
+++ b/spec/rtems/type/if/mpci-receive-packet-entry.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_mpci_receive_packet_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/mpci-return-packet-entry.yml b/spec/rtems/type/if/mpci-return-packet-entry.yml
index f6f68db..a9a53cd 100644
--- a/spec/rtems/type/if/mpci-return-packet-entry.yml
+++ b/spec/rtems/type/if/mpci-return-packet-entry.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_mpci_return_packet_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/mpci-send-packet-entry.yml b/spec/rtems/type/if/mpci-send-packet-entry.yml
index f8dfd61..02f3390 100644
--- a/spec/rtems/type/if/mpci-send-packet-entry.yml
+++ b/spec/rtems/type/if/mpci-send-packet-entry.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_mpci_send_packet_entry
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/mpci-table.yml b/spec/rtems/type/if/mpci-table.yml
index 10ba124..ec83267 100644
--- a/spec/rtems/type/if/mpci-table.yml
+++ b/spec/rtems/type/if/mpci-table.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_mpci_table
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/multiprocessing-table.yml b/spec/rtems/type/if/multiprocessing-table.yml
index 7936e18..06deeaa 100644
--- a/spec/rtems/type/if/multiprocessing-table.yml
+++ b/spec/rtems/type/if/multiprocessing-table.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_multiprocessing_table
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/name.yml b/spec/rtems/type/if/name.yml
index 1af51e3..a9b91ef 100644
--- a/spec/rtems/type/if/name.yml
+++ b/spec/rtems/type/if/name.yml
@@ -20,4 +20,6 @@ links:
   uid: group
 name: rtems_name
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/packet-prefix.yml b/spec/rtems/type/if/packet-prefix.yml
index e02a57f..5ef0607 100644
--- a/spec/rtems/type/if/packet-prefix.yml
+++ b/spec/rtems/type/if/packet-prefix.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_packet_prefix
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/type/if/priority.yml b/spec/rtems/type/if/priority.yml
index 72d8c71..31aeeed 100644
--- a/spec/rtems/type/if/priority.yml
+++ b/spec/rtems/type/if/priority.yml
@@ -18,4 +18,6 @@ links:
   uid: group
 name: rtems_task_priority
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/fatal-code.yml b/spec/rtems/userext/if/fatal-code.yml
index ad29fca..811f5d0 100644
--- a/spec/rtems/userext/if/fatal-code.yml
+++ b/spec/rtems/userext/if/fatal-code.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_fatal_code
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/fatal-source.yml b/spec/rtems/userext/if/fatal-source.yml
index 0c84eeb..a200536 100644
--- a/spec/rtems/userext/if/fatal-source.yml
+++ b/spec/rtems/userext/if/fatal-source.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_fatal_source
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/fatal.yml b/spec/rtems/userext/if/fatal.yml
index 7ef5b93..1ab0bf3 100644
--- a/spec/rtems/userext/if/fatal.yml
+++ b/spec/rtems/userext/if/fatal.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_fatal_extension
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/table.yml b/spec/rtems/userext/if/table.yml
index a78581b..472b9f1 100644
--- a/spec/rtems/userext/if/table.yml
+++ b/spec/rtems/userext/if/table.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_extensions_table
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/task-begin.yml b/spec/rtems/userext/if/task-begin.yml
index a4281a1..56a2dde 100644
--- a/spec/rtems/userext/if/task-begin.yml
+++ b/spec/rtems/userext/if/task-begin.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_task_begin_extension
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/task-create.yml b/spec/rtems/userext/if/task-create.yml
index b1f8cf3..8bf2d20 100644
--- a/spec/rtems/userext/if/task-create.yml
+++ b/spec/rtems/userext/if/task-create.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_task_create_extension
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/task-delete.yml b/spec/rtems/userext/if/task-delete.yml
index cf0eadf..62e10b1 100644
--- a/spec/rtems/userext/if/task-delete.yml
+++ b/spec/rtems/userext/if/task-delete.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_task_delete_extension
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/task-exitted.yml b/spec/rtems/userext/if/task-exitted.yml
index 5ef16bb..241bcab 100644
--- a/spec/rtems/userext/if/task-exitted.yml
+++ b/spec/rtems/userext/if/task-exitted.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_task_exitted_extension
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/task-restart.yml b/spec/rtems/userext/if/task-restart.yml
index dee6386..fa01e68 100644
--- a/spec/rtems/userext/if/task-restart.yml
+++ b/spec/rtems/userext/if/task-restart.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_task_restart_extension
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/task-start.yml b/spec/rtems/userext/if/task-start.yml
index efaee6e..ffbbbef 100644
--- a/spec/rtems/userext/if/task-start.yml
+++ b/spec/rtems/userext/if/task-start.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_task_start_extension
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/task-switch.yml b/spec/rtems/userext/if/task-switch.yml
index 6e8cdf5..c167747 100644
--- a/spec/rtems/userext/if/task-switch.yml
+++ b/spec/rtems/userext/if/task-switch.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_task_switch_extension
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/rtems/userext/if/task-terminate.yml b/spec/rtems/userext/if/task-terminate.yml
index 464c622..6d3a980 100644
--- a/spec/rtems/userext/if/task-terminate.yml
+++ b/spec/rtems/userext/if/task-terminate.yml
@@ -17,4 +17,6 @@ links:
   uid: group
 name: rtems_task_terminate_extension
 notes: null
+params: []
+return: null
 type: interface
diff --git a/spec/spec/interface-typedef.yml b/spec/spec/interface-typedef.yml
index c066a22..6a44350 100644
--- a/spec/spec/interface-typedef.yml
+++ b/spec/spec/interface-typedef.yml
@@ -30,6 +30,12 @@ spec-info:
       notes:
         description: null
         spec-type: interface-notes
+      params:
+        description: null
+        spec-type: interface-param-list
+      return:
+        description: null
+        spec-type: interface-return-directive
     description: |
       This set of attributes specifies a typedef.
     mandatory-attributes: all



More information about the vc mailing list