diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-09 16:41:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-14 14:32:42 +0200 |
commit | ccf334ee69b67671dd4aac830e9e3d2f577bc36a (patch) | |
tree | 593e1782e3b1b26ac125623462222c4095810d6a /spec/rtems/intr | |
parent | spec: Fix rtems_rate_monotonic_get_status() test (diff) | |
download | rtems-central-ccf334ee69b67671dd4aac830e9e3d2f577bc36a.tar.bz2 |
interface: Simplify return attribute
Diffstat (limited to 'spec/rtems/intr')
25 files changed, 33 insertions, 83 deletions
diff --git a/spec/rtems/intr/if/disable.yml b/spec/rtems/intr/if/disable.yml index 08208e7d..8881fba5 100644 --- a/spec/rtems/intr/if/disable.yml +++ b/spec/rtems/intr/if/disable.yml @@ -73,7 +73,5 @@ params: previous interrupt level. dir: out name: _isr_cookie -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/enable.yml b/spec/rtems/intr/if/enable.yml index 97d7dbf4..398a6243 100644 --- a/spec/rtems/intr/if/enable.yml +++ b/spec/rtems/intr/if/enable.yml @@ -43,7 +43,5 @@ params: a previous call to ${disable:/name} or ${flash:/name}. dir: in name: _isr_cookie -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/entry-initialize.yml b/spec/rtems/intr/if/entry-initialize.yml index df966948..23bb6f34 100644 --- a/spec/rtems/intr/if/entry-initialize.yml +++ b/spec/rtems/intr/if/entry-initialize.yml @@ -52,7 +52,5 @@ params: is the descriptive information for the entry. dir: null name: info -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/entry-initializer.yml b/spec/rtems/intr/if/entry-initializer.yml index eadc174a..5188d6aa 100644 --- a/spec/rtems/intr/if/entry-initializer.yml +++ b/spec/rtems/intr/if/entry-initializer.yml @@ -33,7 +33,5 @@ params: is the descriptive information for the entry. dir: null name: _info -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/flash.yml b/spec/rtems/intr/if/flash.yml index 05e8ef76..fca060d1 100644 --- a/spec/rtems/intr/if/flash.yml +++ b/spec/rtems/intr/if/flash.yml @@ -29,19 +29,17 @@ links: uid: ../constraint/no-smp name: rtems_interrupt_flash notes: | - The ${.:/params[0]/name} parameter value must be obtained by a previous - call to ${disable:/name} or ${flash:/name}. Using an otherwise obtained - value is undefined behaviour. + The ${.:/params[0]/name} parameter value must be obtained by a previous + call to ${disable:/name} or ${flash:/name}. Using an otherwise obtained + value is undefined behaviour. - Historically, the interrupt flash directive was heavily used in the - operating system implementation. However, this is no longer the case. The - interrupt flash directive is provided for backward compatibility reasons. + Historically, the interrupt flash directive was heavily used in the + operating system implementation. However, this is no longer the case. The + interrupt flash directive is provided for backward compatibility reasons. params: - description: | is the previous interrupt level. dir: inout name: _isr_cookie -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/local-disable.yml b/spec/rtems/intr/if/local-disable.yml index baee1537..542ff14d 100644 --- a/spec/rtems/intr/if/local-disable.yml +++ b/spec/rtems/intr/if/local-disable.yml @@ -75,7 +75,5 @@ params: previous interrupt level. dir: out name: _isr_cookie -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/local-enable.yml b/spec/rtems/intr/if/local-enable.yml index da08a124..f1125d99 100644 --- a/spec/rtems/intr/if/local-enable.yml +++ b/spec/rtems/intr/if/local-enable.yml @@ -40,7 +40,5 @@ params: a previous call to ${local-disable:/name}. dir: in name: _isr_cookie -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-acquire-isr.yml b/spec/rtems/intr/if/lock-acquire-isr.yml index fe0e03d4..14e1959a 100644 --- a/spec/rtems/intr/if/lock-acquire-isr.yml +++ b/spec/rtems/intr/if/lock-acquire-isr.yml @@ -56,7 +56,5 @@ params: lock by calling ${lock-release-isr:/name}. dir: out name: _lock_context -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-acquire.yml b/spec/rtems/intr/if/lock-acquire.yml index 7c05fd94..cfca358b 100644 --- a/spec/rtems/intr/if/lock-acquire.yml +++ b/spec/rtems/intr/if/lock-acquire.yml @@ -63,7 +63,5 @@ params: lock by calling ${lock-release:/name}. dir: out name: _lock_context -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-declare.yml b/spec/rtems/intr/if/lock-declare.yml index 3f42f2ea..987507a7 100644 --- a/spec/rtems/intr/if/lock-declare.yml +++ b/spec/rtems/intr/if/lock-declare.yml @@ -30,7 +30,5 @@ params: is the ISR lock object designator. dir: null name: _designator -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-define.yml b/spec/rtems/intr/if/lock-define.yml index 378a1026..b8bdaa97 100644 --- a/spec/rtems/intr/if/lock-define.yml +++ b/spec/rtems/intr/if/lock-define.yml @@ -38,7 +38,5 @@ params: the system was built with profiling support enabled. dir: null name: _name -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-destroy.yml b/spec/rtems/intr/if/lock-destroy.yml index d69da341..90282e9e 100644 --- a/spec/rtems/intr/if/lock-destroy.yml +++ b/spec/rtems/intr/if/lock-destroy.yml @@ -33,7 +33,5 @@ params: is the ISR lock to destroy. dir: inout name: _lock -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-initialize.yml b/spec/rtems/intr/if/lock-initialize.yml index d9922e7f..a23c2718 100644 --- a/spec/rtems/intr/if/lock-initialize.yml +++ b/spec/rtems/intr/if/lock-initialize.yml @@ -31,7 +31,5 @@ params: the system was built with profiling support enabled. dir: null name: _name -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-initializer.yml b/spec/rtems/intr/if/lock-initializer.yml index fb100549..89deb039 100644 --- a/spec/rtems/intr/if/lock-initializer.yml +++ b/spec/rtems/intr/if/lock-initializer.yml @@ -26,7 +26,5 @@ params: the system was built with profiling support enabled. dir: null name: _name -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-isr-disable.yml b/spec/rtems/intr/if/lock-isr-disable.yml index acf184b3..3ecc3e1d 100644 --- a/spec/rtems/intr/if/lock-isr-disable.yml +++ b/spec/rtems/intr/if/lock-isr-disable.yml @@ -29,7 +29,5 @@ params: is the ISR lock context for an acquire and release pair. dir: out name: _lock_context -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-member.yml b/spec/rtems/intr/if/lock-member.yml index a5035ef5..e093aec7 100644 --- a/spec/rtems/intr/if/lock-member.yml +++ b/spec/rtems/intr/if/lock-member.yml @@ -24,7 +24,5 @@ params: is the ISR lock member designator. dir: null name: _designator -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-reference.yml b/spec/rtems/intr/if/lock-reference.yml index 3aa3f7e9..be2b16d9 100644 --- a/spec/rtems/intr/if/lock-reference.yml +++ b/spec/rtems/intr/if/lock-reference.yml @@ -29,7 +29,5 @@ params: is the target object to reference. dir: null name: _target -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-release-isr.yml b/spec/rtems/intr/if/lock-release-isr.yml index d82a7d52..21f50623 100644 --- a/spec/rtems/intr/if/lock-release-isr.yml +++ b/spec/rtems/intr/if/lock-release-isr.yml @@ -46,7 +46,5 @@ params: the lock by calling ${lock-acquire-isr:/name}. dir: inout name: _lock_context -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/lock-release.yml b/spec/rtems/intr/if/lock-release.yml index f407413a..76ba5771 100644 --- a/spec/rtems/intr/if/lock-release.yml +++ b/spec/rtems/intr/if/lock-release.yml @@ -43,7 +43,5 @@ params: the lock by calling ${lock-acquire:/name}. dir: inout name: _lock_context -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/server-action-prepend.yml b/spec/rtems/intr/if/server-action-prepend.yml index 156b4389..c1fc68ef 100644 --- a/spec/rtems/intr/if/server-action-prepend.yml +++ b/spec/rtems/intr/if/server-action-prepend.yml @@ -52,8 +52,8 @@ params: dir: inout name: entry - description: | - is the interrupt server action to initialize and prepend to the list of - actions of the entry. + is the interrupt server action to initialize and prepend to the list of + actions of the entry. dir: out name: action - description: | @@ -64,7 +64,5 @@ params: is the interrupt handler argument to set in the action. dir: null name: arg -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/server-entry-destroy.yml b/spec/rtems/intr/if/server-entry-destroy.yml index e4fa67cc..457933c3 100644 --- a/spec/rtems/intr/if/server-entry-destroy.yml +++ b/spec/rtems/intr/if/server-entry-destroy.yml @@ -36,7 +36,5 @@ params: is the interrupt server entry to destroy. dir: inout name: entry -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/server-entry-submit.yml b/spec/rtems/intr/if/server-entry-submit.yml index 88b61f1d..da415848 100644 --- a/spec/rtems/intr/if/server-entry-submit.yml +++ b/spec/rtems/intr/if/server-entry-submit.yml @@ -52,7 +52,5 @@ params: is the interrupt server entry to submit. dir: null name: entry -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/server-request-destroy.yml b/spec/rtems/intr/if/server-request-destroy.yml index 800d8e84..3975c88e 100644 --- a/spec/rtems/intr/if/server-request-destroy.yml +++ b/spec/rtems/intr/if/server-request-destroy.yml @@ -37,7 +37,5 @@ params: is the interrupt server request to destroy. dir: inout name: request -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/server-request-set-vector.yml b/spec/rtems/intr/if/server-request-set-vector.yml index c6c6465f..6f414193 100644 --- a/spec/rtems/intr/if/server-request-set-vector.yml +++ b/spec/rtems/intr/if/server-request-set-vector.yml @@ -56,7 +56,5 @@ params: is the interrupt vector number to be used by the request. dir: null name: vector -return: - return: null - return-values: [] +return: null type: interface diff --git a/spec/rtems/intr/if/server-request-submit.yml b/spec/rtems/intr/if/server-request-submit.yml index aa526f0c..60b0094f 100644 --- a/spec/rtems/intr/if/server-request-submit.yml +++ b/spec/rtems/intr/if/server-request-submit.yml @@ -51,7 +51,5 @@ params: is the interrupt server request to submit. dir: inout name: request -return: - return: null - return-values: [] +return: null type: interface |