RTEMS 6.1-rc2
Loading...
Searching...
No Matches
tr-tq-enqueue-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_ENQUEUE_PRIORITY_INHERIT_H
52#define _TR_TQ_ENQUEUE_PRIORITY_INHERIT_H
53
54#include "tx-thread-queue.h"
55
56#ifdef __cplusplus
57extern "C" {
58#endif
59
66typedef enum {
67 ScoreTqReqEnqueuePriorityInherit_Pre_Scheduler_One,
68 ScoreTqReqEnqueuePriorityInherit_Pre_Scheduler_Two,
69 ScoreTqReqEnqueuePriorityInherit_Pre_Scheduler_Three,
70 ScoreTqReqEnqueuePriorityInherit_Pre_Scheduler_More,
71 ScoreTqReqEnqueuePriorityInherit_Pre_Scheduler_NA
72} ScoreTqReqEnqueuePriorityInherit_Pre_Scheduler;
73
74typedef enum {
75 ScoreTqReqEnqueuePriorityInherit_Pre_QueueEligible_None,
76 ScoreTqReqEnqueuePriorityInherit_Pre_QueueEligible_High,
77 ScoreTqReqEnqueuePriorityInherit_Pre_QueueEligible_Equal,
78 ScoreTqReqEnqueuePriorityInherit_Pre_QueueEligible_Low,
79 ScoreTqReqEnqueuePriorityInherit_Pre_QueueEligible_NA
80} ScoreTqReqEnqueuePriorityInherit_Pre_QueueEligible;
81
82typedef enum {
83 ScoreTqReqEnqueuePriorityInherit_Pre_QueueIneligible_None,
84 ScoreTqReqEnqueuePriorityInherit_Pre_QueueIneligible_Only,
85 ScoreTqReqEnqueuePriorityInherit_Pre_QueueIneligible_Before,
86 ScoreTqReqEnqueuePriorityInherit_Pre_QueueIneligible_After,
87 ScoreTqReqEnqueuePriorityInherit_Pre_QueueIneligible_NA
88} ScoreTqReqEnqueuePriorityInherit_Pre_QueueIneligible;
89
90typedef enum {
91 ScoreTqReqEnqueuePriorityInherit_Pre_PriorityForOwner_Vital,
92 ScoreTqReqEnqueuePriorityInherit_Pre_PriorityForOwner_Dispensable,
93 ScoreTqReqEnqueuePriorityInherit_Pre_PriorityForOwner_NA
94} ScoreTqReqEnqueuePriorityInherit_Pre_PriorityForOwner;
95
96typedef enum {
97 ScoreTqReqEnqueuePriorityInherit_Pre_SchedulerForOwner_Vital,
98 ScoreTqReqEnqueuePriorityInherit_Pre_SchedulerForOwner_Dispensable,
99 ScoreTqReqEnqueuePriorityInherit_Pre_SchedulerForOwner_NA
100} ScoreTqReqEnqueuePriorityInherit_Pre_SchedulerForOwner;
101
102typedef enum {
103 ScoreTqReqEnqueuePriorityInherit_Pre_OwnerState_NotEnqueued,
104 ScoreTqReqEnqueuePriorityInherit_Pre_OwnerState_FIFO,
105 ScoreTqReqEnqueuePriorityInherit_Pre_OwnerState_Priority,
106 ScoreTqReqEnqueuePriorityInherit_Pre_OwnerState_PriorityInherit,
107 ScoreTqReqEnqueuePriorityInherit_Pre_OwnerState_NA
108} ScoreTqReqEnqueuePriorityInherit_Pre_OwnerState;
109
110typedef enum {
111 ScoreTqReqEnqueuePriorityInherit_Post_Position_InitialFirst,
112 ScoreTqReqEnqueuePriorityInherit_Post_Position_InitialLast,
113 ScoreTqReqEnqueuePriorityInherit_Post_Position_First,
114 ScoreTqReqEnqueuePriorityInherit_Post_Position_Second,
115 ScoreTqReqEnqueuePriorityInherit_Post_Position_FirstFirst,
116 ScoreTqReqEnqueuePriorityInherit_Post_Position_SecondFirst,
117 ScoreTqReqEnqueuePriorityInherit_Post_Position_FirstLast,
118 ScoreTqReqEnqueuePriorityInherit_Post_Position_SecondLast,
119 ScoreTqReqEnqueuePriorityInherit_Post_Position_NA
120} ScoreTqReqEnqueuePriorityInherit_Post_Position;
121
122typedef enum {
123 ScoreTqReqEnqueuePriorityInherit_Post_OwnerPriority_Raise,
124 ScoreTqReqEnqueuePriorityInherit_Post_OwnerPriority_Nop,
125 ScoreTqReqEnqueuePriorityInherit_Post_OwnerPriority_NA
126} ScoreTqReqEnqueuePriorityInherit_Post_OwnerPriority;
127
128typedef enum {
129 ScoreTqReqEnqueuePriorityInherit_Post_OwnerScheduler_NewHelper,
130 ScoreTqReqEnqueuePriorityInherit_Post_OwnerScheduler_Nop,
131 ScoreTqReqEnqueuePriorityInherit_Post_OwnerScheduler_NA
132} ScoreTqReqEnqueuePriorityInherit_Post_OwnerScheduler;
133
134typedef enum {
135 ScoreTqReqEnqueuePriorityInherit_Post_OwnerOwnerPriority_Raise,
136 ScoreTqReqEnqueuePriorityInherit_Post_OwnerOwnerPriority_Nop,
137 ScoreTqReqEnqueuePriorityInherit_Post_OwnerOwnerPriority_NA
138} ScoreTqReqEnqueuePriorityInherit_Post_OwnerOwnerPriority;
139
140typedef enum {
141 ScoreTqReqEnqueuePriorityInherit_Post_OwnerOwnerScheduler_NewHelper,
142 ScoreTqReqEnqueuePriorityInherit_Post_OwnerOwnerScheduler_Nop,
143 ScoreTqReqEnqueuePriorityInherit_Post_OwnerOwnerScheduler_NA
144} ScoreTqReqEnqueuePriorityInherit_Post_OwnerOwnerScheduler;
145
152
155#ifdef __cplusplus
156}
157#endif
158
159#endif /* _TR_TQ_ENQUEUE_PRIORITY_INHERIT_H */
void ScoreTqReqEnqueuePriorityInherit_Run(TQContext *tq_ctx)
Runs the parameterized test case.
Definition: tr-tq-enqueue-priority-inherit.c:1676
Definition: tx-thread-queue.h:148
This header file provides the functions to test the Thread Queue Handler.