RTEMS 6.1-rc5
Loading...
Searching...
No Matches
tr-tq-surrender-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_SURRENDER_PRIORITY_INHERIT_H
52#define _TR_TQ_SURRENDER_PRIORITY_INHERIT_H
53
54#include "tx-thread-queue.h"
55
56#ifdef __cplusplus
57extern "C" {
58#endif
59
66typedef enum {
67 ScoreTqReqSurrenderPriorityInherit_Pre_SchedulerCount_One,
68 ScoreTqReqSurrenderPriorityInherit_Pre_SchedulerCount_Two,
69 ScoreTqReqSurrenderPriorityInherit_Pre_SchedulerCount_More,
70 ScoreTqReqSurrenderPriorityInherit_Pre_SchedulerCount_NA
71} ScoreTqReqSurrenderPriorityInherit_Pre_SchedulerCount;
72
73typedef enum {
74 ScoreTqReqSurrenderPriorityInherit_Pre_InheritedPriority_Vital,
75 ScoreTqReqSurrenderPriorityInherit_Pre_InheritedPriority_Dispensable,
76 ScoreTqReqSurrenderPriorityInherit_Pre_InheritedPriority_NA
77} ScoreTqReqSurrenderPriorityInherit_Pre_InheritedPriority;
78
79typedef enum {
80 ScoreTqReqSurrenderPriorityInherit_Pre_PreviousHelping_Vital,
81 ScoreTqReqSurrenderPriorityInherit_Pre_PreviousHelping_Dispensable,
82 ScoreTqReqSurrenderPriorityInherit_Pre_PreviousHelping_NA
83} ScoreTqReqSurrenderPriorityInherit_Pre_PreviousHelping;
84
85typedef enum {
86 ScoreTqReqSurrenderPriorityInherit_Pre_UsedScheduler_Home,
87 ScoreTqReqSurrenderPriorityInherit_Pre_UsedScheduler_Helping,
88 ScoreTqReqSurrenderPriorityInherit_Pre_UsedScheduler_NA
89} ScoreTqReqSurrenderPriorityInherit_Pre_UsedScheduler;
90
91typedef enum {
92 ScoreTqReqSurrenderPriorityInherit_Pre_NewPriority_Vital,
93 ScoreTqReqSurrenderPriorityInherit_Pre_NewPriority_Dispensable,
94 ScoreTqReqSurrenderPriorityInherit_Pre_NewPriority_NA
95} ScoreTqReqSurrenderPriorityInherit_Pre_NewPriority;
96
97typedef enum {
98 ScoreTqReqSurrenderPriorityInherit_Pre_NewHelping_Vital,
99 ScoreTqReqSurrenderPriorityInherit_Pre_NewHelping_Dispensable,
100 ScoreTqReqSurrenderPriorityInherit_Pre_NewHelping_NA
101} ScoreTqReqSurrenderPriorityInherit_Pre_NewHelping;
102
103typedef enum {
104 ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_Yes,
105 ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_No,
106 ScoreTqReqSurrenderPriorityInherit_Pre_Suspended_NA
107} ScoreTqReqSurrenderPriorityInherit_Pre_Suspended;
108
109typedef enum {
110 ScoreTqReqSurrenderPriorityInherit_Pre_WaitState_Blocked,
111 ScoreTqReqSurrenderPriorityInherit_Pre_WaitState_IntendToBlock,
112 ScoreTqReqSurrenderPriorityInherit_Pre_WaitState_NA
113} ScoreTqReqSurrenderPriorityInherit_Pre_WaitState;
114
115typedef enum {
116 ScoreTqReqSurrenderPriorityInherit_Post_Dequeue_Priority,
117 ScoreTqReqSurrenderPriorityInherit_Post_Dequeue_NA
118} ScoreTqReqSurrenderPriorityInherit_Post_Dequeue;
119
120typedef enum {
121 ScoreTqReqSurrenderPriorityInherit_Post_Unblock_Yes,
122 ScoreTqReqSurrenderPriorityInherit_Post_Unblock_No,
123 ScoreTqReqSurrenderPriorityInherit_Post_Unblock_NA
124} ScoreTqReqSurrenderPriorityInherit_Post_Unblock;
125
126typedef enum {
127 ScoreTqReqSurrenderPriorityInherit_Post_PreviousOwnerPriority_Drop,
128 ScoreTqReqSurrenderPriorityInherit_Post_PreviousOwnerPriority_Nop,
129 ScoreTqReqSurrenderPriorityInherit_Post_PreviousOwnerPriority_NA
130} ScoreTqReqSurrenderPriorityInherit_Post_PreviousOwnerPriority;
131
132typedef enum {
133 ScoreTqReqSurrenderPriorityInherit_Post_NewPriority_Raise,
134 ScoreTqReqSurrenderPriorityInherit_Post_NewPriority_Nop,
135 ScoreTqReqSurrenderPriorityInherit_Post_NewPriority_NA
136} ScoreTqReqSurrenderPriorityInherit_Post_NewPriority;
137
138typedef enum {
139 ScoreTqReqSurrenderPriorityInherit_Post_RemoveHelper_Yes,
140 ScoreTqReqSurrenderPriorityInherit_Post_RemoveHelper_No,
141 ScoreTqReqSurrenderPriorityInherit_Post_RemoveHelper_NA
142} ScoreTqReqSurrenderPriorityInherit_Post_RemoveHelper;
143
144typedef enum {
145 ScoreTqReqSurrenderPriorityInherit_Post_AddHelper_Yes,
146 ScoreTqReqSurrenderPriorityInherit_Post_AddHelper_No,
147 ScoreTqReqSurrenderPriorityInherit_Post_AddHelper_NA
148} ScoreTqReqSurrenderPriorityInherit_Post_AddHelper;
149
150typedef enum {
151 ScoreTqReqSurrenderPriorityInherit_Post_Suspended_Yes,
152 ScoreTqReqSurrenderPriorityInherit_Post_Suspended_No,
153 ScoreTqReqSurrenderPriorityInherit_Post_Suspended_NA
154} ScoreTqReqSurrenderPriorityInherit_Post_Suspended;
155
162
165#ifdef __cplusplus
166}
167#endif
168
169#endif /* _TR_TQ_SURRENDER_PRIORITY_INHERIT_H */
void ScoreTqReqSurrenderPriorityInherit_Run(TQContext *tq_ctx)
Runs the parameterized test case.
Definition: tr-tq-surrender-priority-inherit.c:2447
Definition: tx-thread-queue.h:148
This header file provides the functions to test the Thread Queue Handler.