source: rtems/testsuites/libtests/top/system.h @ ac28f15

5
Last change on this file since ac28f15 was 410bcdfe, checked in by Jennifer Averett <jennifer.averett@…>, on 09/29/14 at 19:31:18

top: Add new test.

  • Property mode set to 100644
File size: 1.4 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 <bsp.h>
15#include <tmacros.h>
16
17/* functions */
18
19rtems_task Init(
20  rtems_task_argument argument
21);
22
23rtems_task Task_1(
24  rtems_task_argument argument
25);
26
27rtems_task Task_2(
28  rtems_task_argument argument
29);
30
31rtems_task Task_3(
32  rtems_task_argument argument
33);
34
35void add_some(
36  uint32_t  per_loop,
37  uint32_t *sum,
38  uint32_t *next
39);
40
41/* configuration information */
42#define TASK_COUNT           30
43
44#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
45#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
46
47#define CONFIGURE_MAXIMUM_USER_EXTENSIONS     1
48#define CONFIGURE_MAXIMUM_TASKS               (TASK_COUNT+2)
49#define CONFIGURE_TICKS_PER_TIMESLICE         100
50
51#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
52
53#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
54
55#include <rtems/confdefs.h>
56
57/* global variables */
58
59TEST_EXTERN rtems_id         Task_id[ TASK_COUNT ];         /* array of task ids */
60TEST_EXTERN rtems_name       Task_name[ TASK_COUNT ];       /* array of task names */
61TEST_EXTERN rtems_interval   TicksPerSecond;
62
63/* end of include file */
Note: See TracBrowser for help on using the repository browser.