source: rtems/testsuites/sptests/spclock_err01/system.h @ df367fad

4.115
Last change on this file since df367fad was df367fad, checked in by Bjorn Larsson <bjornlarsson@…>, on 03/28/14 at 18:05:57

sptests: New tests split from sp09 screen 1 and screen 2.

Split sp09 screen 1 into new test sptask_err04.
Split sp09 screen 2 into new tests sptaskerr02 and spclock_err01,
as well as moving one verification into sptimer_err01.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1/*
2 *  This include file contains information that is included in every
3 *  function in the test set.
4 */
5
6/*
7 *  COPYRIGHT (c) 1989-2014.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.com/license/LICENSE.
13 */
14
15#include <tmacros.h>
16
17/* functions */
18
19rtems_task Init(
20  rtems_task_argument argument
21);
22
23rtems_timer_service_routine Delayed_routine(
24  rtems_id  ignored_id,
25  void     *ignored_address
26);
27
28/* configuration information */
29
30#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
31#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
32
33#define CONFIGURE_MAXIMUM_TASKS              10
34#define CONFIGURE_MAXIMUM_TIMERS              1
35#define CONFIGURE_MAXIMUM_SEMAPHORES          2
36#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
37#define CONFIGURE_MAXIMUM_PERIODS             1
38#define CONFIGURE_MAXIMUM_USER_EXTENSIONS     0
39#define CONFIGURE_TICKS_PER_TIMESLICE       100
40
41#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
42
43#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
44
45#define CONFIGURE_EXTRA_TASK_STACKS         (20 * RTEMS_MINIMUM_STACK_SIZE)
46
47#include <rtems/confdefs.h>
48
49/* global variables */
50
51TEST_EXTERN rtems_id   Task_id[ 11 ];       /* array of task ids */
52TEST_EXTERN rtems_name Task_name[ 11 ];     /* array of task names */
53
54TEST_EXTERN rtems_name Semaphore_name[ 4 ]; /* array of semaphore names */
55TEST_EXTERN rtems_id   Semaphore_id[ 4 ];   /* array of semaphore ids */
56
57TEST_EXTERN rtems_name Queue_name[ 3 ];     /* array of queue names */
58TEST_EXTERN rtems_id   Queue_id[ 3 ];       /* array of queue ids */
59
60TEST_EXTERN rtems_name Port_name[ 2 ];      /* array of port names */
61TEST_EXTERN rtems_id   Port_id[ 2 ];        /* array of port ids */
62
63TEST_EXTERN rtems_name Period_name[ 2 ];    /* array of period names */
64TEST_EXTERN rtems_id   Period_id[ 2 ];      /* array of period ids */
65
66TEST_EXTERN rtems_id   Junk_id;             /* id used to return errors */
67
68#define Internal_port_area (void *) 0x00001000
69#define External_port_area (void *) 0x00002000
70
71/* end of include file */
Note: See TracBrowser for help on using the repository browser.