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

4.104.114.84.9
Last change on this file since f49aaf18 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 17, 1999 at 5:51:34 PM

Updated copyright notice.

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