RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
testsuites
validation
tc-userext.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-2-Clause */
2
10
11
/*
12
* Copyright (C) 2021 embedded brains GmbH & Co. KG
13
*
14
* Redistribution and use in source and binary forms, with or without
15
* modification, are permitted provided that the following conditions
16
* are met:
17
* 1. Redistributions of source code must retain the above copyright
18
* notice, this list of conditions and the following disclaimer.
19
* 2. Redistributions in binary form must reproduce the above copyright
20
* notice, this list of conditions and the following disclaimer in the
21
* documentation and/or other materials provided with the distribution.
22
*
23
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
27
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33
* POSSIBILITY OF SUCH DAMAGE.
34
*/
35
36
#ifndef _TC_USEREXT_H
37
#define _TC_USEREXT_H
38
39
#include <
rtems.h
>
40
41
#ifdef __cplusplus
42
extern
"C"
{
43
#endif
44
45
void
ThreadBeginExtension0(
rtems_tcb
*executing );
46
47
bool
ThreadCreateExtension0(
rtems_tcb
*executing,
rtems_tcb
*created );
48
49
void
ThreadDeleteExtension0(
rtems_tcb
*executing,
rtems_tcb
*deleted );
50
51
void
ThreadExittedExtension0(
rtems_tcb
*executing );
52
53
void
ThreadRestartExtension0(
rtems_tcb
*executing,
rtems_tcb
*restarted );
54
55
void
ThreadStartExtension0(
rtems_tcb
*executing,
rtems_tcb
*started );
56
57
void
ThreadSwitchExtension0(
rtems_tcb
*executing,
rtems_tcb
*heir );
58
59
void
ThreadTerminateExtension0(
rtems_tcb
*executing );
60
61
void
FatalExtension0(
62
rtems_fatal_source
source,
63
bool
always_set_to_false,
64
rtems_fatal_code
code
65
);
66
67
void
ThreadBeginExtension1(
rtems_tcb
*executing );
68
69
bool
ThreadCreateExtension1(
rtems_tcb
*executing,
rtems_tcb
*created );
70
71
void
ThreadDeleteExtension1(
rtems_tcb
*executing,
rtems_tcb
*deleted );
72
73
void
ThreadExittedExtension1(
rtems_tcb
*executing );
74
75
void
ThreadRestartExtension1(
rtems_tcb
*executing,
rtems_tcb
*restarted );
76
77
void
ThreadStartExtension1(
rtems_tcb
*executing,
rtems_tcb
*started );
78
79
void
ThreadSwitchExtension1(
rtems_tcb
*executing,
rtems_tcb
*heir );
80
81
void
ThreadTerminateExtension1(
rtems_tcb
*executing );
82
83
void
FatalExtension1(
84
rtems_fatal_source
source,
85
bool
always_set_to_false,
86
rtems_fatal_code
code
87
);
88
89
#ifdef __cplusplus
90
}
91
#endif
92
93
#endif
/* _TC_USEREXT_H */
rtems_tcb
struct _Thread_Control rtems_tcb
This structure represents the TCB.
Definition
tasks.h:400
rtems_fatal_code
Internal_errors_t rtems_fatal_code
This integer type represents system termination codes.
Definition
extension.h:162
rtems_fatal_source
Internal_errors_Source rtems_fatal_source
This enumeration represents system termination sources.
Definition
extension.h:175
rtems.h
This header file defines the RTEMS Classic API.
code
Definition
inftrees.h:24
Generated by
1.18.0