RTEMS 6.1-rc5
Loading...
Searching...
No Matches
tr-tq-timeout-priority-inherit.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-2-Clause */
2
9/*
10 * Copyright (C) 2021 embedded brains GmbH & Co. KG
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright
16 * notice, this list of conditions and the following disclaimer.
17 * 2. Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in the
19 * documentation and/or other materials provided with the distribution.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
25 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 */
33
34/*
35 * This file is part of the RTEMS quality process and was automatically
36 * generated. If you find something that needs to be fixed or
37 * worded better please post a report or patch to an RTEMS mailing list
38 * or raise a bug report:
39 *
40 * https://www.rtems.org/bugs.html
41 *
42 * For information on updating and regenerating please refer to the How-To
43 * section in the Software Requirements Engineering chapter of the
44 * RTEMS Software Engineering manual. The manual is provided as a part of
45 * a release. For development sources please refer to the online
46 * documentation at:
47 *
48 * https://docs.rtems.org
49 */
50
51#ifndef _TR_TQ_TIMEOUT_PRIORITY_INHERIT_H
52#define _TR_TQ_TIMEOUT_PRIORITY_INHERIT_H
53
54#include "tx-thread-queue.h"
55
56#ifdef __cplusplus
57extern "C" {
58#endif
59
66typedef enum {
67 ScoreTqReqTimeoutPriorityInherit_Pre_HomeScheduler_Home,
68 ScoreTqReqTimeoutPriorityInherit_Pre_HomeScheduler_Helping,
69 ScoreTqReqTimeoutPriorityInherit_Pre_HomeScheduler_NA
70} ScoreTqReqTimeoutPriorityInherit_Pre_HomeScheduler;
71
72typedef enum {
73 ScoreTqReqTimeoutPriorityInherit_Pre_EligibleScheduler_One,
74 ScoreTqReqTimeoutPriorityInherit_Pre_EligibleScheduler_More,
75 ScoreTqReqTimeoutPriorityInherit_Pre_EligibleScheduler_NA
76} ScoreTqReqTimeoutPriorityInherit_Pre_EligibleScheduler;
77
78typedef enum {
79 ScoreTqReqTimeoutPriorityInherit_Pre_Queue_Only,
80 ScoreTqReqTimeoutPriorityInherit_Pre_Queue_Vital,
81 ScoreTqReqTimeoutPriorityInherit_Pre_Queue_Dispensable,
82 ScoreTqReqTimeoutPriorityInherit_Pre_Queue_NA
83} ScoreTqReqTimeoutPriorityInherit_Pre_Queue;
84
85typedef enum {
86 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerPriority_Only,
87 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerPriority_Vital,
88 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerPriority_Dispensable,
89 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerPriority_NA
90} ScoreTqReqTimeoutPriorityInherit_Pre_OwnerPriority;
91
92typedef enum {
93 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerState_NotEnqueued,
94 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerState_FIFO,
95 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerState_Priority,
96 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerState_PriorityInherit,
97 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerState_NA
98} ScoreTqReqTimeoutPriorityInherit_Pre_OwnerState;
99
100typedef enum {
101 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerQueue_Only,
102 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerQueue_Vital,
103 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerQueue_Dispensable,
104 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerQueue_NA
105} ScoreTqReqTimeoutPriorityInherit_Pre_OwnerQueue;
106
107typedef enum {
108 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerOwnerPriority_Only,
109 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerOwnerPriority_Vital,
110 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerOwnerPriority_Dispensable,
111 ScoreTqReqTimeoutPriorityInherit_Pre_OwnerOwnerPriority_NA
112} ScoreTqReqTimeoutPriorityInherit_Pre_OwnerOwnerPriority;
113
114typedef enum {
115 ScoreTqReqTimeoutPriorityInherit_Pre_WaitState_Blocked,
116 ScoreTqReqTimeoutPriorityInherit_Pre_WaitState_IntendToBlock,
117 ScoreTqReqTimeoutPriorityInherit_Pre_WaitState_ReadyAgain,
118 ScoreTqReqTimeoutPriorityInherit_Pre_WaitState_NA
119} ScoreTqReqTimeoutPriorityInherit_Pre_WaitState;
120
121typedef enum {
122 ScoreTqReqTimeoutPriorityInherit_Post_Status_Ok,
123 ScoreTqReqTimeoutPriorityInherit_Post_Status_Timeout,
124 ScoreTqReqTimeoutPriorityInherit_Post_Status_NA
125} ScoreTqReqTimeoutPriorityInherit_Post_Status;
126
127typedef enum {
128 ScoreTqReqTimeoutPriorityInherit_Post_Unblock_Yes,
129 ScoreTqReqTimeoutPriorityInherit_Post_Unblock_No,
130 ScoreTqReqTimeoutPriorityInherit_Post_Unblock_NA
131} ScoreTqReqTimeoutPriorityInherit_Post_Unblock;
132
133typedef enum {
134 ScoreTqReqTimeoutPriorityInherit_Post_OwnerPriority_Nop,
135 ScoreTqReqTimeoutPriorityInherit_Post_OwnerPriority_Lower,
136 ScoreTqReqTimeoutPriorityInherit_Post_OwnerPriority_Drop,
137 ScoreTqReqTimeoutPriorityInherit_Post_OwnerPriority_NA
138} ScoreTqReqTimeoutPriorityInherit_Post_OwnerPriority;
139
140typedef enum {
141 ScoreTqReqTimeoutPriorityInherit_Post_OwnerOwnerPriority_Nop,
142 ScoreTqReqTimeoutPriorityInherit_Post_OwnerOwnerPriority_Lower,
143 ScoreTqReqTimeoutPriorityInherit_Post_OwnerOwnerPriority_Drop,
144 ScoreTqReqTimeoutPriorityInherit_Post_OwnerOwnerPriority_NA
145} ScoreTqReqTimeoutPriorityInherit_Post_OwnerOwnerPriority;
146
153
156#ifdef __cplusplus
157}
158#endif
159
160#endif /* _TR_TQ_TIMEOUT_PRIORITY_INHERIT_H */
void ScoreTqReqTimeoutPriorityInherit_Run(TQContext *tq_ctx)
Runs the parameterized test case.
Definition: tr-tq-timeout-priority-inherit.c:2079
Definition: tx-thread-queue.h:148
This header file provides the functions to test the Thread Queue Handler.