summaryrefslogblamecommitdiffstats
path: root/spec/rtems/fatal/if/error-occurred.yml
blob: 9c18e28f61b1e33d432587cecf90b360f8e39d6e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     

                                  
           
                                                  


                                                                          
                                                    

              
                                                  
                
              



                                                                               
                
                 




                           
            
                  

                                              








                                      
                                



                                                                              
       

                      
           
                  
            
               
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Invokes the fatal error handler.
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
definition:
  default:
    attributes: ${../../basedefs/if/no-return:/name}
    body: null
    params:
    - ${/c/if/uint32_t:/name} ${.:/params[0]/name}
    return: void
  variants: []
description: |
  This directive processes fatal errors.  The fatal source is set to
  ${/score/interr/if/internal-error-rtems-api:/name}.  The fatal code is set to
  the value of the ${.:/params[0]/name} parameter.
enabled-by: true
index-entries: []
interface-type: function
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
- role: constraint
  uid: /constraint/directive-not-pre-qualified
- role: constraint
  uid: /constraint/directive-ctx-any
- role: constraint
  uid: /constraint/directive-no-return
- role: constraint
  uid: /constraint/extensions-fatal
- role: constraint
  uid: /constraint/no-atexit
- role: constraint
  uid: /constraint/terminate
name: rtems_fatal_error_occurred
notes: |
  This directive is deprecated and should not be used in new code.  It is
  recommended to not use this directive since error locations cannot be
  uniquely identified.  A recommended alternative directive is ${fatal:/name}.
params:
- description: |
    is the fatal code.
  dir: null
  name: fatal_code
return: null
type: interface