source: rtems/testsuites/sptests/sp19/system.h @ 72510115

Last change on this file since 72510115 was 828049cb, checked in by Sebastian Huber <sebastian.huber@…>, on 03/08/18 at 07:48:28

sptests/sp19: Fix test output methods

Do not use fprintf() in non-fp tasks.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*  system.h
2 *
3 *  This include file contains information that is included in every
4 *  function in the test set.
5 *
6 *  COPYRIGHT (c) 1989-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.org/license/LICENSE.
12 */
13
14#include <tmacros.h>
15
16/* functions */
17
18rtems_task Init(
19  rtems_task_argument argument
20);
21
22rtems_task First_FP_task(
23  rtems_task_argument argument
24);
25
26rtems_task FP_task(
27  rtems_task_argument argument
28);
29
30rtems_task Task_1(
31  rtems_task_argument argument
32);
33
34/* configuration information */
35
36#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
37
38#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
39#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
40
41#define CONFIGURE_MAXIMUM_TASKS             7
42
43void thread_switch_extension( Thread_Control *, Thread_Control * );
44
45#define CONFIGURE_INITIAL_EXTENSIONS \
46  { .thread_switch = thread_switch_extension }, \
47  RTEMS_TEST_INITIAL_EXTENSION
48
49#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
50
51#define CONFIGURE_EXTRA_TASK_STACKS         (24 * RTEMS_MINIMUM_STACK_SIZE)
52
53#include <rtems/confdefs.h>
54
55/* global variables */
56
57TEST_EXTERN rtems_id   Task_id[ 7 ];     /* array of task ids */
58TEST_EXTERN rtems_name Task_name[ 7 ];   /* array of task names */
59
60TEST_EXTERN double FP_factors[ 10 ];  /* FP "uniqueness" factors */
61
62TEST_EXTERN uint32_t   INTEGER_factors[ 10 ];  /* INT "uniqueness" factors */
63/* end of include file */
Note: See TracBrowser for help on using the repository browser.