source: rtems/testsuites/sptests/spsignal_err01/system.h @ 34244b7a

4.115
Last change on this file since 34244b7a was 34244b7a, checked in by Bjorn Larsson <bjornlarsson@…>, on 03/25/14 at 14:58:04

spsignal_err01: New test split from sp09.

This test moves rtems_signal_send error testing from sp09
screen 9 into its own test.

  • Property mode set to 100644
File size: 2.0 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_isr Service_routine(
24  rtems_vector_number ignored
25);
26
27/* configuration information */
28
29#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
30#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
31
32#define CONFIGURE_MAXIMUM_TASKS              10
33#define CONFIGURE_MAXIMUM_TIMERS              1
34#define CONFIGURE_MAXIMUM_SEMAPHORES          2
35#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
36#define CONFIGURE_MAXIMUM_PERIODS             1
37#define CONFIGURE_MAXIMUM_USER_EXTENSIONS     0
38#define CONFIGURE_TICKS_PER_TIMESLICE       100
39
40#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
41
42#define CONFIGURE_EXTRA_TASK_STACKS         (20 * RTEMS_MINIMUM_STACK_SIZE)
43
44#include <rtems/confdefs.h>
45
46/* global variables */
47
48TEST_EXTERN rtems_id   Task_id[ 11 ];       /* array of task ids */
49TEST_EXTERN rtems_name Task_name[ 11 ];     /* array of task names */
50
51TEST_EXTERN rtems_name Semaphore_name[ 4 ]; /* array of semaphore names */
52TEST_EXTERN rtems_id   Semaphore_id[ 4 ];   /* array of semaphore ids */
53
54TEST_EXTERN rtems_name Queue_name[ 3 ];     /* array of queue names */
55TEST_EXTERN rtems_id   Queue_id[ 3 ];       /* array of queue ids */
56
57TEST_EXTERN rtems_name Port_name[ 2 ];      /* array of port names */
58TEST_EXTERN rtems_id   Port_id[ 2 ];        /* array of port ids */
59
60TEST_EXTERN rtems_name Period_name[ 2 ];    /* array of period names */
61TEST_EXTERN rtems_id   Period_id[ 2 ];      /* array of period ids */
62
63TEST_EXTERN rtems_id   Junk_id;             /* id used to return errors */
64
65#define Internal_port_area (void *) 0x00001000
66#define External_port_area (void *) 0x00002000
67
68/* end of include file */
Note: See TracBrowser for help on using the repository browser.