1 | /* SPDX-License-Identifier: BSD-2-Clause */ |
---|
2 | |
---|
3 | /* edfparams.h |
---|
4 | * |
---|
5 | * This include file contains information that is included in every |
---|
6 | * function in the test set. |
---|
7 | * |
---|
8 | * COPYRIGHT (c) 1989-1999. |
---|
9 | * On-Line Applications Research Corporation (OAR). |
---|
10 | * |
---|
11 | * Redistribution and use in source and binary forms, with or without |
---|
12 | * modification, are permitted provided that the following conditions |
---|
13 | * are met: |
---|
14 | * 1. Redistributions of source code must retain the above copyright |
---|
15 | * notice, this list of conditions and the following disclaimer. |
---|
16 | * 2. Redistributions in binary form must reproduce the above copyright |
---|
17 | * notice, this list of conditions and the following disclaimer in the |
---|
18 | * documentation and/or other materials provided with the distribution. |
---|
19 | * |
---|
20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
---|
21 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
---|
22 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
---|
23 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
---|
24 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
---|
25 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
---|
26 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
---|
27 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
---|
28 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
---|
29 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
---|
30 | * POSSIBILITY OF SUCH DAMAGE. |
---|
31 | */ |
---|
32 | |
---|
33 | /* This file was generated with the following parameters: |
---|
34 | -T 30,10,0 -T 40,10,0 -T 50,10,0 -T 70,10,0 -A 1,100,7 -A 100,5,4 |
---|
35 | */ |
---|
36 | |
---|
37 | #ifndef __EDFPARAMS_H_ |
---|
38 | #define __EDFPARAMS_H_ |
---|
39 | |
---|
40 | #include "system.h" |
---|
41 | |
---|
42 | rtems_task_priority Priorities[1+NUM_TASKS]= { 0, 30, 40, 50, 70, 254, 254 }; |
---|
43 | |
---|
44 | uint32_t Periods[1+NUM_PERIODIC_TASKS] = { 0, 30, 40, 50, 70 }; |
---|
45 | |
---|
46 | uint32_t Execution[1+NUM_TASKS] = { 0, 10, 10, 10, 10, 100, 5 }; |
---|
47 | |
---|
48 | uint32_t Phases[1+NUM_TASKS] = { 0, 0, 0, 0, 0, 7, 4 }; |
---|
49 | |
---|
50 | #define build_task_name() do { \ |
---|
51 | Task_name[ 1 ] = rtems_build_name( 'P', 'T', '1', ' ' );\ |
---|
52 | Task_name[ 2 ] = rtems_build_name( 'P', 'T', '2', ' ' );\ |
---|
53 | Task_name[ 3 ] = rtems_build_name( 'P', 'T', '3', ' ' );\ |
---|
54 | Task_name[ 4 ] = rtems_build_name( 'P', 'T', '4', ' ' );\ |
---|
55 | Task_name[ 5 ] = rtems_build_name( 'A', 'T', '5', ' ' );\ |
---|
56 | Task_name[ 6 ] = rtems_build_name( 'A', 'T', '6', ' ' );\ |
---|
57 | } while(0) |
---|
58 | |
---|
59 | #endif |
---|