source: rtems/testsuites/smptests/smp08/system.h @ 7274e67

5
Last change on this file since 7274e67 was 7274e67, checked in by Sebastian Huber <sebastian.huber@…>, on 01/19/18 at 09:56:13

smp08: Use floating-point task

This test uses sprintf().

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2011.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10#include "tmacros.h"
11#include "test_support.h"
12
13/* functions */
14
15rtems_task Init(
16  rtems_task_argument argument
17);
18
19rtems_task Test_task(
20  rtems_task_argument argument
21);
22
23/* configuration information */
24
25#include <bsp.h> /* for device driver prototypes */
26
27#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
28#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
29
30#define CONFIGURE_MAXIMUM_PROCESSORS   4
31
32#define CONFIGURE_MAXIMUM_TASKS            \
33    (1 + (CONFIGURE_MAXIMUM_PROCESSORS*3) )
34
35#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
36
37#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
39#define CONFIGURE_EXTRA_TASK_STACKS         (3 * RTEMS_MINIMUM_STACK_SIZE)
40#define CONFIGURE_MAXIMUM_SEMAPHORES          2
41 
42#include <rtems/confdefs.h>
43
44TEST_EXTERN rtems_id       Semaphore;      /* synchronisation semaphore */
45
46void PrintTaskInfo(
47  const char         *task_name,
48  rtems_time_of_day  *_tb
49);
50
51/* end of include file */
Note: See TracBrowser for help on using the repository browser.