diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-22 08:36:47 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-03 10:22:45 +0200 |
commit | 01643c6b71994243619d49fe3d74523988461656 (patch) | |
tree | 3020184cd4f554601c6da3464958f9af73eac6d6 /spec/if/rtems | |
parent | 5c30755697b39409561b0ddaf044031318e0a4cd (diff) |
spec: Add /if/rtems/fatal/*
Diffstat (limited to 'spec/if/rtems')
-rw-r--r-- | spec/if/rtems/fatal/assert-context.yml | 50 | ||||
-rw-r--r-- | spec/if/rtems/fatal/error-occurred.yml | 30 | ||||
-rw-r--r-- | spec/if/rtems/fatal/exception-frame-print.yml | 31 | ||||
-rw-r--r-- | spec/if/rtems/fatal/exception-frame.yml | 19 | ||||
-rw-r--r-- | spec/if/rtems/fatal/fatal.yml | 35 | ||||
-rw-r--r-- | spec/if/rtems/fatal/header.yml | 11 | ||||
-rw-r--r-- | spec/if/rtems/fatal/internal-error-text.yml | 30 | ||||
-rw-r--r-- | spec/if/rtems/fatal/panic.yml | 34 | ||||
-rw-r--r-- | spec/if/rtems/fatal/source-text.yml | 30 |
9 files changed, 270 insertions, 0 deletions
diff --git a/spec/if/rtems/fatal/assert-context.yml b/spec/if/rtems/fatal/assert-context.yml new file mode 100644 index 00000000..7df6eb5e --- /dev/null +++ b/spec/if/rtems/fatal/assert-context.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: + brief: | + This member is + definition: const char *${.:name} + description: '%' + kind: member + name: file + variants: [] +- default: + brief: | + This member is + definition: int ${.:name} + description: '%' + kind: member + name: line + variants: [] +- default: + brief: | + This member is + definition: const char *${.:name} + description: '%' + kind: member + name: function + variants: [] +- default: + brief: | + This member is + definition: const char *${.:name} + description: '%' + kind: member + name: failed_expression + variants: [] +definition-kind: typedef-only +description: null +enabled-by: true +interface-type: struct +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/fatal +name: rtems_assert_context +notes: null +type: interface diff --git a/spec/if/rtems/fatal/error-occurred.yml b/spec/if/rtems/fatal/error-occurred.yml new file mode 100644 index 00000000..cd3644d5 --- /dev/null +++ b/spec/if/rtems/fatal/error-occurred.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: + - ${/if/c/uint32_t:/name} ${.:/params[0]/name} + return: ${../basedefs/no-return:/name} void + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/fatal +name: rtems_fatal_error_occurred +notes: null +params: +- description: '%' + dir: null + name: the_error +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/fatal/exception-frame-print.yml b/spec/if/rtems/fatal/exception-frame-print.yml new file mode 100644 index 00000000..5938ac0e --- /dev/null +++ b/spec/if/rtems/fatal/exception-frame-print.yml @@ -0,0 +1,31 @@ +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: | + ${/if/impl/cpu/exception-frame-print:/name}( ${.:/params[0]/name} ); + params: + - const ${exception-frame:/name} *${.:/params[0]/name} + return: void + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/fatal +name: rtems_exception_frame_print +notes: null +params: +- description: '%' + dir: null + name: frame +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/fatal/exception-frame.yml b/spec/if/rtems/fatal/exception-frame.yml new file mode 100644 index 00000000..72ed3dd1 --- /dev/null +++ b/spec/if/rtems/fatal/exception-frame.yml @@ -0,0 +1,19 @@ +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: ${/if/impl/cpu/exception-frame:/name} ${.:/name} + variants: [] +description: null +enabled-by: true +interface-type: typedef +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/fatal +name: rtems_exception_frame +notes: null +type: interface diff --git a/spec/if/rtems/fatal/fatal.yml b/spec/if/rtems/fatal/fatal.yml new file mode 100644 index 00000000..662df4a4 --- /dev/null +++ b/spec/if/rtems/fatal/fatal.yml @@ -0,0 +1,35 @@ +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: | + ${/if/impl/interr/terminate:/name}( ${.:/params[0]/name}, ${.:/params[1]/name} ); + params: + - ${../userext/fatal-source:/name} ${.:/params[0]/name} + - ${../userext/fatal-code:/name} ${.:/params[1]/name} + return: ${../basedefs/no-return:/name} void + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/fatal +name: rtems_fatal +notes: null +params: +- description: '%' + dir: null + name: fatal_source +- description: '%' + dir: null + name: error_code +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/fatal/header.yml b/spec/if/rtems/fatal/header.yml new file mode 100644 index 00000000..28c2a03e --- /dev/null +++ b/spec/if/rtems/fatal/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/fatal.h +prefix: cpukit/include +type: interface diff --git a/spec/if/rtems/fatal/internal-error-text.yml b/spec/if/rtems/fatal/internal-error-text.yml new file mode 100644 index 00000000..408453f2 --- /dev/null +++ b/spec/if/rtems/fatal/internal-error-text.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: + - ${../userext/fatal-code:/name} ${.:/params[0]/name} + return: const char * + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/fatal +name: rtems_internal_error_text +notes: null +params: +- description: '%' + dir: null + name: error +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/fatal/panic.yml b/spec/if/rtems/fatal/panic.yml new file mode 100644 index 00000000..f5c887e9 --- /dev/null +++ b/spec/if/rtems/fatal/panic.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: + - const char *${.:/params[0]/name} + - ... + return: ${../basedefs/no-return:/name} ${../basedefs/printflike:/name}( 1, 2 ) void + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/fatal +name: rtems_panic +notes: null +params: +- description: '%' + dir: null + name: fmt +- description: '%' + dir: null + name: ... +return: + return: null + return-values: [] +type: interface diff --git a/spec/if/rtems/fatal/source-text.yml b/spec/if/rtems/fatal/source-text.yml new file mode 100644 index 00000000..eac8f7a4 --- /dev/null +++ b/spec/if/rtems/fatal/source-text.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: + - ${../userext/fatal-source:/name} ${.:/params[0]/name} + return: const char * + variants: [] +description: null +enabled-by: true +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/fatal +name: rtems_fatal_source_text +notes: null +params: +- description: '%' + dir: null + name: source +return: + return: null + return-values: [] +type: interface |