RTEMS 6.1-rc6
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
148
149/* Generated from spec:/rtems/userext/if/fatal-code */
150
162typedef Internal_errors_t rtems_fatal_code;
163
164/* Generated from spec:/rtems/userext/if/fatal-source */
165
176
177/* Generated from spec:/rtems/userext/if/ident */
178
227
228/* Generated from spec:/rtems/userext/if/table */
229
239
240/* Generated from spec:/rtems/userext/if/create */
241
315 rtems_name name,
316 const rtems_extensions_table *extension_table,
317 rtems_id *id
318);
319
320/* Generated from spec:/rtems/userext/if/task-begin */
321
354
355/* Generated from spec:/rtems/userext/if/task-create */
356
411
412/* Generated from spec:/rtems/userext/if/task-delete */
413
461
462/* Generated from spec:/rtems/userext/if/task-exitted */
463
482
483/* Generated from spec:/rtems/userext/if/task-restart */
484
519
520/* Generated from spec:/rtems/userext/if/task-start */
521
551
552/* Generated from spec:/rtems/userext/if/task-switch */
553
609
610/* Generated from spec:/rtems/userext/if/task-terminate */
611
645
646#ifdef __cplusplus
647}
648#endif
649
650#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:481
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:608
User_extensions_thread_begin_extension rtems_task_begin_extension
Task begin extensions are invoked when a task begins execution.
Definition: extension.h:353
User_extensions_thread_restart_extension rtems_task_restart_extension
Task restart extensions are invoked when a task restarts.
Definition: extension.h:518
Internal_errors_t rtems_fatal_code
This integer type represents system termination codes.
Definition: extension.h:162
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:238
User_extensions_thread_delete_extension rtems_task_delete_extension
Task delete extensions are invoked when a task is deleted.
Definition: extension.h:460
User_extensions_thread_create_extension rtems_task_create_extension
Task create extensions are invoked when a task is created.
Definition: extension.h:410
User_extensions_thread_terminate_extension rtems_task_terminate_extension
Task terminate extensions are invoked when a task terminates.
Definition: extension.h:644
User_extensions_fatal_extension rtems_fatal_extension
Fatal extensions are invoked when the system should terminate.
Definition: extension.h:147
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:550
Internal_errors_Source rtems_fatal_source
This enumeration represents system termination sources.
Definition: extension.h:175
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...