RTEMS 6.1-rc2
Loading...
Searching...
No Matches
extension.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-2-Clause */
2
11/*
12 * Copyright (C) 2009, 2021 embedded brains GmbH & Co. KG
13 * Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
14 *
15 * Redistribution and use in source and binary forms, with or without
16 * modification, are permitted provided that the following conditions
17 * are met:
18 * 1. Redistributions of source code must retain the above copyright
19 * notice, this list of conditions and the following disclaimer.
20 * 2. Redistributions in binary form must reproduce the above copyright
21 * notice, this list of conditions and the following disclaimer in the
22 * documentation and/or other materials provided with the distribution.
23 *
24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
28 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 * POSSIBILITY OF SUCH DAMAGE.
35 */
36
37/*
38 * This file is part of the RTEMS quality process and was automatically
39 * generated. If you find something that needs to be fixed or
40 * worded better please post a report or patch to an RTEMS mailing list
41 * or raise a bug report:
42 *
43 * https://www.rtems.org/bugs.html
44 *
45 * For information on updating and regenerating please refer to the How-To
46 * section in the Software Requirements Engineering chapter of the
47 * RTEMS Software Engineering manual. The manual is provided as a part of
48 * a release. For development sources please refer to the online
49 * documentation at:
50 *
51 * https://docs.rtems.org
52 */
53
54/* Generated from spec:/rtems/userext/if/header */
55
56#ifndef _RTEMS_EXTENSION_H
57#define _RTEMS_EXTENSION_H
58
59#include <rtems/rtems/status.h>
60#include <rtems/rtems/types.h>
61#include <rtems/score/interr.h>
63
64#ifdef __cplusplus
65extern "C" {
66#endif
67
68/* Generated from spec:/rtems/userext/if/group */
69
80/* Generated from spec:/rtems/userext/if/delete */
81
116
117/* Generated from spec:/rtems/userext/if/fatal */
118
147
148/* Generated from spec:/rtems/userext/if/fatal-code */
149
161typedef Internal_errors_t rtems_fatal_code;
162
163/* Generated from spec:/rtems/userext/if/fatal-source */
164
175
176/* Generated from spec:/rtems/userext/if/ident */
177
226
227/* Generated from spec:/rtems/userext/if/table */
228
238
239/* Generated from spec:/rtems/userext/if/create */
240
314 rtems_name name,
315 const rtems_extensions_table *extension_table,
316 rtems_id *id
317);
318
319/* Generated from spec:/rtems/userext/if/task-begin */
320
353
354/* Generated from spec:/rtems/userext/if/task-create */
355
410
411/* Generated from spec:/rtems/userext/if/task-delete */
412
460
461/* Generated from spec:/rtems/userext/if/task-exitted */
462
481
482/* Generated from spec:/rtems/userext/if/task-restart */
483
518
519/* Generated from spec:/rtems/userext/if/task-start */
520
550
551/* Generated from spec:/rtems/userext/if/task-switch */
552
608
609/* Generated from spec:/rtems/userext/if/task-terminate */
610
644
645#ifdef __cplusplus
646}
647#endif
648
649#endif /* _RTEMS_EXTENSION_H */
This header file provides types used by the Classic API.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
uint32_t rtems_name
This type represents Classic API object names.
Definition: types.h:226
Objects_Id rtems_id
This type represents RTEMS object identifiers.
Definition: types.h:94
rtems_status_code rtems_extension_delete(rtems_id id)
Deletes the extension set.
Definition: extensiondelete.c:45
rtems_status_code rtems_extension_ident(rtems_name name, rtems_id *id)
Identifies an extension set by the object name.
Definition: extensionident.c:45
User_extensions_thread_exitted_extension rtems_task_exitted_extension
Task exitted extensions are invoked when a task entry returns.
Definition: extension.h:480
User_extensions_thread_switch_extension rtems_task_switch_extension
Task switch extensions are invoked when a thread switch from an executing thread to a heir thread tak...
Definition: extension.h:607
User_extensions_thread_begin_extension rtems_task_begin_extension
Task begin extensions are invoked when a task begins execution.
Definition: extension.h:352
User_extensions_thread_restart_extension rtems_task_restart_extension
Task restart extensions are invoked when a task restarts.
Definition: extension.h:517
Internal_errors_t rtems_fatal_code
This integer type represents system termination codes.
Definition: extension.h:161
User_extensions_Table rtems_extensions_table
The extensions table contains a set of extensions which may be registered in the system through the C...
Definition: extension.h:237
User_extensions_thread_delete_extension rtems_task_delete_extension
Task delete extensions are invoked when a task is deleted.
Definition: extension.h:459
User_extensions_thread_create_extension rtems_task_create_extension
Task create extensions are invoked when a task is created.
Definition: extension.h:409
User_extensions_thread_terminate_extension rtems_task_terminate_extension
Task terminate extensions are invoked when a task terminates.
Definition: extension.h:643
User_extensions_fatal_extension rtems_fatal_extension
Fatal extensions are invoked when the system should terminate.
Definition: extension.h:146
User_extensions_thread_start_extension rtems_task_start_extension
Task start extensions are invoked when a task was made ready for the first time.
Definition: extension.h:549
Internal_errors_Source rtems_fatal_source
This enumeration represents system termination sources.
Definition: extension.h:174
rtems_status_code rtems_extension_create(rtems_name name, const rtems_extensions_table *extension_table, rtems_id *id)
Creates an extension set.
Definition: extensioncreate.c:48
Internal_errors_Source
This type lists the possible sources from which an error can be reported.
Definition: interr.h:63
void(* User_extensions_thread_begin_extension)(struct _Thread_Control *executing)
Task begin extension.
Definition: userext.h:192
bool(* User_extensions_thread_create_extension)(struct _Thread_Control *executing, struct _Thread_Control *created)
Task create extension.
Definition: userext.h:92
void(* User_extensions_thread_start_extension)(struct _Thread_Control *executing, struct _Thread_Control *started)
Task start extension.
Definition: userext.h:132
void(* User_extensions_thread_restart_extension)(struct _Thread_Control *executing, struct _Thread_Control *restarted)
Task restart extension.
Definition: userext.h:154
void(* User_extensions_thread_delete_extension)(struct _Thread_Control *executing, struct _Thread_Control *deleted)
Task delete extension.
Definition: userext.h:112
void(* User_extensions_thread_switch_extension)(struct _Thread_Control *executing, struct _Thread_Control *heir)
Task switch extension.
Definition: userext.h:177
void(* User_extensions_thread_terminate_extension)(struct _Thread_Control *terminated)
Task termination extension.
Definition: userext.h:246
void(* User_extensions_fatal_extension)(Internal_errors_Source source, bool always_set_to_false, Internal_errors_t code)
Fatal error extension.
Definition: userext.h:224
void(* User_extensions_thread_exitted_extension)(struct _Thread_Control *executing)
Task exitted extension.
Definition: userext.h:206
This header file provides the interfaces of the Internal Error Handler.
This header file provides the status codes of Classic API directives and support functions.
User extension table.
Definition: userext.h:253
This header file provides data structures used by the implementation and the Application Configuratio...