source: rtems/c/src/tests/sptests/sp23/system.h @ 20f54e9

4.104.114.84.95
Last change on this file since 20f54e9 was 9a993ed5, checked in by Joel Sherrill <joel.sherrill@…>, on 04/27/98 at 13:51:23

Added CONFIGURE_EXTRA_TASK_STACKS definition to make memory requirements
more accurate.

  • 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-1998.
7 *  On-Line Applications Research Corporation (OAR).
8 *  Copyright assigned to U.S. Government, 1994.
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.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17#include <tmacros.h>
18
19/* functions */
20
21rtems_task Init(
22  rtems_task_argument argument
23);
24
25rtems_task Task_1(
26  rtems_task_argument argument
27);
28
29/* configuration information */
30
31#define CONFIGURE_SPTEST
32
33#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
34#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
35
36#define CONFIGURE_MAXIMUM_PORTS               1
37#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
38
39#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
40
41#define CONFIGURE_EXTRA_TASK_STACKS       (1 * RTEMS_MINIMUM_STACK_SIZE)
42
43#include <confdefs.h>
44
45/* global variables */
46
47TEST_EXTERN rtems_id   Task_id[ 2 ];     /* array of task ids */
48TEST_EXTERN rtems_name Task_name[ 2 ];   /* array of task names */
49 
50TEST_EXTERN rtems_id   Port_id[ 2 ];     /* array of port ids */
51TEST_EXTERN rtems_name Port_name[ 2 ];   /* array of port names */
52 
53#define Internal_port_area ((rtems_unsigned8 *) 0x00001000)
54#define External_port_area ((rtems_unsigned8 *) 0x00002000)
55 
56#define Below_port_area    ((rtems_unsigned8 *) 0x00000500)
57#define Above_port_area    ((rtems_unsigned8 *) 0x00003000)
58
59/* end of include file */
Note: See TracBrowser for help on using the repository browser.