OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [sptests/] [spfatal/] [system.h] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  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: system.h,v 1.2 2001-09-27 12:02:38 chris Exp $
14
 */
15
 
16
#include <tmacros.h>
17
 
18
/* functions */
19
 
20
rtems_task Init(
21
  rtems_task_argument argument
22
);
23
 
24
void put_error(
25
  rtems_unsigned32  error,
26
  rtems_status_code expected
27
);
28
 
29
rtems_extension Fatal_extension(
30
  rtems_unsigned32 source,
31
  boolean          is_internal,
32
  rtems_unsigned32 error
33
);
34
 
35
rtems_task Task_1(
36
  rtems_task_argument argument
37
);
38
 
39
/* configuration information */
40
 
41
extern rtems_extensions_table initial_extensions;
42
 
43
#define CONFIGURE_INITIAL_EXTENSIONS \
44
  { \
45
    NULL,                    /* create  */ \
46
    NULL,                    /* start   */ \
47
    NULL,                    /* restart */ \
48
    NULL,                    /* delete  */ \
49
    NULL,                    /* switch  */ \
50
    NULL,                    /* begin   */ \
51
    NULL,                    /* exitted */ \
52
    Fatal_extension          /* fatal   */ \
53
  }
54
 
55
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
56
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
57
 
58
#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(0)
59
#define CONFIGURE_TICKS_PER_TIMESLICE   0
60
 
61
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
62
 
63
#include <confdefs.h>
64
 
65
/* global variables */
66
 
67
TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
68
TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
69
 
70
TEST_EXTERN rtems_configuration_table        New_Configuration;
71
 
72
extern rtems_extensions_table           Extensions;
73
 
74
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.